This commit is contained in:
Siarhei Fedartsou 2024-06-07 18:22:09 +02:00
parent 419bfd7f87
commit 90cd6b0c0a

View File

@ -29,8 +29,8 @@ jobs:
continue-on-error: false continue-on-error: false
env: env:
BUILD_TYPE: Release BUILD_TYPE: Release
CC: clang CC: gcc
CXX: clang++ CXX: g++
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Ninja - name: Install Ninja
@ -69,11 +69,11 @@ jobs:
run: | run: |
clang --version clang --version
clang++ --version clang++ --version
- name: Configure Conan to use Clang # - name: Configure Conan to use Clang
shell: bash # shell: bash
run: | # run: |
conan profile new default --detect || true # conan profile new default --detect || true
conan profile update settings.compiler=clang default # conan profile update settings.compiler=clang default
- name: Build - name: Build
shell: bash shell: bash
run: | run: |
@ -81,7 +81,7 @@ jobs:
clang --version clang --version
mkdir build mkdir build
cd build cd build
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ .. cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ..
cmake --build . --config Release cmake --build . --config Release
# .\scripts\ci\windows-build.bat # .\scripts\ci\windows-build.bat