Skip to content

Commit

Permalink
Update cmake-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
artiomn authored Nov 6, 2024
1 parent f28aaeb commit 9695754
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ jobs:
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
pre_run_command: docker run --rm ${{ vars.DOCKERHUB_LOGIN }}/knp-build-image -v ${{ github.workspace }}:/KNP
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
pre_run_command: docker run --rm ${{ vars.DOCKERHUB_LOGIN }}/knp-build-image -v ${{ github.workspace }}:/KNP
exclude:
# - os: windows-latest
# c_compiler: gcc
Expand All @@ -66,7 +68,7 @@ jobs:
- name: Configure CMake
run: >
docker run --rm knp-build-image-amd64 -v ${{ github.workspace }}:/KNP cmake -B ${{ steps.strings.outputs.build-output-dir }}
docker run --rm ${{ vars.DOCKERHUB_LOGIN }}/knp-build-image -v ${{ github.workspace }}:/KNP cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
Expand Down

0 comments on commit 9695754

Please sign in to comment.