Skip to content

Commit 9654339

Browse files
Migrate to Conan 2.x
1 parent 1d06531 commit 9654339

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

.github/workflows/osrm-backend.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -23,47 +23,47 @@ concurrency:
2323
cancel-in-progress: true
2424

2525
jobs:
26-
windows-release-node:
27-
#needs: format-taginfo-docs
28-
runs-on: windows-2022
29-
continue-on-error: false
30-
env:
31-
BUILD_TYPE: Release
32-
steps:
33-
- uses: actions/checkout@v4
34-
- run: cmake --version
35-
- uses: actions/setup-node@v4
36-
with:
37-
node-version: 18
38-
- run: node --version
39-
- run: npm --version
40-
- name: Prepare environment
41-
shell: bash
42-
run: |
43-
PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
44-
echo PUBLISH=$([[ "${GITHUB_REF:-}" == "refs/tags/v${PACKAGE_JSON_VERSION}" ]] && echo "On" || echo "Off") >> $GITHUB_ENV
45-
- run: npm install --ignore-scripts
46-
- run: npm link --ignore-scripts
47-
- name: Build
48-
shell: bash
49-
run: |
50-
mkdir build
51-
cd build
26+
# windows-release-node:
27+
# #needs: format-taginfo-docs
28+
# runs-on: windows-2022
29+
# continue-on-error: false
30+
# env:
31+
# BUILD_TYPE: Release
32+
# steps:
33+
# - uses: actions/checkout@v4
34+
# - run: cmake --version
35+
# - uses: actions/setup-node@v4
36+
# with:
37+
# node-version: 18
38+
# - run: node --version
39+
# - run: npm --version
40+
# - name: Prepare environment
41+
# shell: bash
42+
# run: |
43+
# PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
44+
# echo PUBLISH=$([[ "${GITHUB_REF:-}" == "refs/tags/v${PACKAGE_JSON_VERSION}" ]] && echo "On" || echo "Off") >> $GITHUB_ENV
45+
# - run: npm install --ignore-scripts
46+
# - run: npm link --ignore-scripts
47+
# - name: Build
48+
# shell: bash
49+
# run: |
50+
# mkdir build
51+
# cd build
5252

53-
python3 -m venv .venv
53+
# python3 -m venv .venv
5454

55-
source .venv/Scripts/Activate
55+
# source .venv/Scripts/Activate
5656

57-
python3 -m pip install conan==2.7.1
57+
# python3 -m pip install conan==2.7.1
5858

59-
conan profile detect --force
59+
# conan profile detect --force
6060

61-
conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20
61+
# conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20
6262

63-
ls -la
63+
# ls -la
6464

65-
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON -DCMAKE_TOOLCHAIN_FILE=./conan_toolchain.cmake ..
66-
cmake --build . --config Release
65+
# cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON -DCMAKE_TOOLCHAIN_FILE=./conan_toolchain.cmake ..
66+
# cmake --build . --config Release
6767

6868
# # TODO: MSVC goes out of memory when building our tests
6969
# # - name: Run tests
@@ -333,17 +333,17 @@ jobs:
333333
ENABLE_CONAN: ON
334334
NODE_PACKAGE_TESTS_ONLY: ON
335335

336-
# - name: conan-macos-x64-release-node
337-
# build_node_package: true
338-
# continue-on-error: true
339-
# node: 20
340-
# runs-on: macos-13 # x86_64
341-
# BUILD_TYPE: Release
342-
# CCOMPILER: clang
343-
# CXXCOMPILER: clang++
344-
# CUCUMBER_TIMEOUT: 60000
345-
# ENABLE_ASSERTIONS: ON
346-
# ENABLE_CONAN: ON
336+
- name: conan-macos-x64-release-node
337+
build_node_package: true
338+
continue-on-error: true
339+
node: 20
340+
runs-on: macos-13 # x86_64
341+
BUILD_TYPE: Release
342+
CCOMPILER: clang
343+
CXXCOMPILER: clang++
344+
CUCUMBER_TIMEOUT: 60000
345+
ENABLE_ASSERTIONS: ON
346+
ENABLE_CONAN: ON
347347

348348
# - name: conan-macos-arm64-release-node
349349
# build_node_package: true

0 commit comments

Comments
 (0)