Skip to content

Commit

Permalink
test compilation with both gcc and clang
Browse files Browse the repository at this point in the history
  • Loading branch information
vjardin committed Feb 4, 2024
1 parent 3a76be7 commit 54dc648
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/actions-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [ gcc, clang ]
steps:
- name: add missing packages
uses: ConorMacBride/install-package@v1
Expand All @@ -20,6 +23,6 @@ jobs:
with:
submodules: true
- name: make
run : make -j $(nproc)
run : CC=${{ matrix.compiler }} make -j $(nproc)
- name: basic run
run : bin/gtp-guard --version

0 comments on commit 54dc648

Please sign in to comment.