forked from Project-OSRM/osrm-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Windows CI to GitHub Actions. (Project-OSRM#6312)
It is quite difficult to maintain current Windows CI, because it uses pre-compiled dependencies stored on wolt.com server and there is low chance to find someone who is able to update it.
- Loading branch information
1 parent
870a493
commit 58451c8
Showing
6 changed files
with
141 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,27 @@ env: | |
ENABLE_NODE_BINDINGS: "ON" | ||
|
||
jobs: | ||
windows: | ||
needs: format-taginfo-docs | ||
runs-on: windows-2022 | ||
continue-on-error: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: pip install conan==1.50.0 | ||
- run: conan --version | ||
- run: cmake --version | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: node --version | ||
- run: npm --version | ||
- run: npm install --ignore-scripts | ||
- run: npm link --ignore-scripts | ||
- uses: microsoft/[email protected] | ||
- name: Build | ||
run: | | ||
.\scripts\ci\windows-build.bat | ||
format-taginfo-docs: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
|
@@ -642,6 +663,6 @@ jobs: | |
|
||
ci-complete: | ||
runs-on: ubuntu-18.04 | ||
needs: build-test-publish | ||
needs: [build-test-publish, docker-image, windows] | ||
steps: | ||
- run: echo "CI complete" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,15 @@ | ||
environment: | ||
matrix: | ||
- configuration: Release | ||
# - configuration: Debug | ||
|
||
install: | ||
- ps: Install-Product node 6 | ||
|
||
# scripts that are called at very beginning, before repo cloning | ||
init: | ||
- git config --global core.autocrlf input | ||
|
||
os: Visual Studio 2019 | ||
|
||
# clone directory | ||
clone_folder: c:\projects\osrm | ||
|
||
platform: x64 | ||
|
||
# no-op for the time being until someone with access to GitHub checks settings will remove integration with AppVeyor | ||
# https://github.com/Project-OSRM/osrm-backend/pull/6312#issuecomment-1217237055 | ||
build_script: | ||
- CALL appveyor-build.bat | ||
|
||
before_test: | ||
- node --version | ||
- npm --version | ||
- npm install --ignore-scripts | ||
- npm link --ignore-scripts | ||
- SET PATH=%CD%\osrm-deps\lib;%PATH% | ||
- SET OSRM_BUILD_DIR=build\%Configuration% | ||
# TODO tests fail with "JavaScript heap out of memory", need a better host? | ||
# - npm test | ||
- EXIT 0 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
Oops, something went wrong.