-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows Installer Test via Github Actions (#822)
* Windows Installer Test via Github Actions * Travis quick return for github actions * Add badge to README.md Co-authored-by: Pramod Kumbhar <pramod.kumbhar@epfl.ch>
- Loading branch information
1 parent
22a6f40
commit a03d70e
Showing
3 changed files
with
47 additions
and
3 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,44 @@ | ||
name: Windows Installer | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
env: | ||
MSYS2_ROOT: C:\msys64 | ||
|
||
jobs: | ||
WindowsInstaller: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Download Dependencies | ||
run: | | ||
.\nrn\ci\win_download_deps.cmd | ||
shell: powershell | ||
working-directory: ${{runner.workspace}} | ||
|
||
- name: Install Dependencies | ||
run: .\nrn\ci\win_install_deps.cmd | ||
shell: powershell | ||
working-directory: ${{runner.workspace}} | ||
|
||
- name: Build and Create Installer | ||
run: | | ||
rm.exe C:\WINDOWS\system32\bash.EXE | ||
%MSYS2_ROOT%\usr\bin\bash -lc "$BUILD_SOURCESDIRECTORY/ci/win_build_cmake.sh" | ||
shell: cmd | ||
working-directory: ${{runner.workspace}}\nrn | ||
env: | ||
BUILD_SOURCESDIRECTORY: ${{runner.workspace}}\nrn | ||
|
||
- name: Test Installer | ||
run: .\ci\win_test_installer.cmd | ||
shell: cmd | ||
working-directory: ${{runner.workspace}}\nrn |
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