wip
This commit is contained in:
parent
419bfd7f87
commit
90cd6b0c0a
16
.github/workflows/osrm-backend.yml
vendored
16
.github/workflows/osrm-backend.yml
vendored
@ -29,8 +29,8 @@ jobs:
|
||||
continue-on-error: false
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
CC: gcc
|
||||
CXX: g++
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Ninja
|
||||
@ -69,11 +69,11 @@ jobs:
|
||||
run: |
|
||||
clang --version
|
||||
clang++ --version
|
||||
- name: Configure Conan to use Clang
|
||||
shell: bash
|
||||
run: |
|
||||
conan profile new default --detect || true
|
||||
conan profile update settings.compiler=clang default
|
||||
# - name: Configure Conan to use Clang
|
||||
# shell: bash
|
||||
# run: |
|
||||
# conan profile new default --detect || true
|
||||
# conan profile update settings.compiler=clang default
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
@ -81,7 +81,7 @@ jobs:
|
||||
clang --version
|
||||
mkdir 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
|
||||
|
||||
# .\scripts\ci\windows-build.bat
|
||||
|
Loading…
Reference in New Issue
Block a user