diff options
| author | Albert Cervin <albert@acervin.com> | 2024-04-08 10:57:01 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2024-04-08 11:09:53 +0200 |
| commit | ced544890ab9915f9b7fd477616e6d1f665e8a4c (patch) | |
| tree | 1a371f2a86c065a5a5705c8b69f337f15a7b12aa /.github/workflows/checks.yaml | |
| parent | 1ed6000dd2a995bcd67e99b1c89aa1e2c4a6f1e6 (diff) | |
| download | dged-ced544890ab9915f9b7fd477616e6d1f665e8a4c.tar.gz dged-ced544890ab9915f9b7fd477616e6d1f665e8a4c.tar.xz dged-ced544890ab9915f9b7fd477616e6d1f665e8a4c.zip | |
Github CI
Diffstat (limited to '.github/workflows/checks.yaml')
| -rw-r--r-- | .github/workflows/checks.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml new file mode 100644 index 0000000..882dd2a --- /dev/null +++ b/.github/workflows/checks.yaml @@ -0,0 +1,27 @@ +name: Checks + +on: [push] + +concurrency: + group: '${{ github.ref_name }}-checks' + cancel-in-progress: true + +jobs: + build: + strategy: + matrix: + compiler: [ gcc, clang ] + + name: Build dged with ${{ matrix.compiler }} + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Nix + uses: cachix/install-nix-action@v26 + with: + install_url: https://releases.nixos.org/nix/nix-2.18.1/install + + - name: Build + run: nix build -L .#${{ matrix.compiler }} |
