Skip to content

Commit 99c9bee

Browse files
committed
Add codegen backends to unit tests workflow
1 parent 9665623 commit 99c9bee

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/utests.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515

16+
matrix:
17+
codegen_backend: ['llvm', 'cpp']
18+
1619
steps:
1720
- uses: actions/checkout@v3
1821
with:
@@ -24,7 +27,7 @@ jobs:
2427
sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev
2528
shell: bash
2629
- name: Configure CMake
27-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DLIBSCRATCHCPP_BUILD_UNIT_TESTS=ON -DLIBSCRATCHCPP_ENABLE_SANITIZER=ON
30+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DLIBSCRATCHCPP_BUILD_UNIT_TESTS=ON -DLIBSCRATCHCPP_ENABLE_SANITIZER=ON -DLIBSCRATCHCPP_CODEGEN_BACKEND=${{ matrix.codegen_backend }}
2831

2932
- name: Build
3033
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all)

0 commit comments

Comments
 (0)