-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR add running continues integration build of nntrainer on Windows Tests are turn off for now since two test cases failed on Windows **Self-evaluation:** 1. Build test: [X]Passed [ ]Failed [ ]Skipped 2. Run test: [X]Passed [ ]Failed [ ]Skipped Signed-off-by: Grzegorz Kisala <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Windows Meson build & test | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2022 | ||
name: Windows Meson build & test | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
fetch-depth: -${{ github.event.pull_request.commits }} | ||
- name: Install submodules | ||
run: git submodule sync && git submodule update --init --recursive | ||
- name: Install Python Dependencies | ||
run: pip install meson ninja | ||
- name: Prepare MSVC | ||
uses: bus1/cabuild/action/msdevshell@v1 | ||
with: | ||
architecture: x64 | ||
- name: Prepare Build | ||
run: meson setup --native-file windows-native.ini builddir | ||
- name: Run Build | ||
run: meson compile -C builddir | ||
# - name: Run Test Suite | ||
# run: meson test -C builddir |
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