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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user