Skip to content

Commit

Permalink
Merge pull request #41 from ispras/main-workflow-update-1
Browse files Browse the repository at this point in the history
Main CI workflow: Clang configuration
  • Loading branch information
ssmolov authored Aug 5, 2024
2 parents f94c15f + 643fcca commit 517edfd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ env:
TESTS_EXECUTABLE: test/utest

jobs:
gcc:
build-and-test:
strategy:
matrix:
compiler: [g++, clang++]
runs-on: ubuntu-latest
steps:
- name: Check out repository code
Expand Down Expand Up @@ -64,7 +67,7 @@ jobs:
env:
CIRCT_DIR: "firtool-${{env.CIRCT_VERSION}}"
run: |
cmake -S . -B "${{env.BUILD_DIR}}" -G Ninja -DCMAKE_CXX_COMPILER=g++ \
cmake -S . -B "${{env.BUILD_DIR}}" -G Ninja -DCMAKE_CXX_COMPILER="${{matrix.compiler}}" \
-DCMAKE_PREFIX_PATH="${{github.workspace}}/${{env.DEPENDENCIES_DIR}}/${{env.CIRCT_DIR}}" \
-DSRC_FILES="${{github.workspace}}/examples/polynomial2/polynomial2.cpp" -DBUILD_TESTS=ON
Expand Down

0 comments on commit 517edfd

Please sign in to comment.