-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README and add GitHub build workflow.
- Loading branch information
Showing
2 changed files
with
55 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build | ||
on: [push, pull_request] | ||
jobs: | ||
build-deb: | ||
strategy: | ||
matrix: | ||
container: ['ubuntu:jammy', 'ubuntu:noble', 'debian:bookworm'] | ||
runs-on: ubuntu-latest | ||
container: ${{ matrix.container }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: apt-get update | ||
- run: apt-get install -y build-essential pkg-config libx11-dev libgoogle-glog-dev | ||
- run: make | ||
build-rpm: | ||
strategy: | ||
matrix: | ||
container: ['fedora:latest'] | ||
runs-on: ubuntu-latest | ||
container: ${{ matrix.container }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: yum install -y make gcc gcc-c++ libX11-devel glog-devel | ||
- run: make | ||
build-arch: | ||
strategy: | ||
matrix: | ||
container: ['archlinux:base'] | ||
runs-on: ubuntu-latest | ||
container: ${{ matrix.container }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: pacman -Sy --noconfirm base-devel libx11 google-glog | ||
- run: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters