mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-24 21:08:38 +00:00
fix/github-actions-windows (#68)
* added windows * mv * Update test_windows.yml * converge * indent
This commit is contained in:
parent
56389bff77
commit
b816843f33
31
.github/workflows/test.yml
vendored
31
.github/workflows/test.yml
vendored
@ -38,3 +38,34 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: |
|
||||
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" test
|
||||
|
||||
windows:
|
||||
strategy:
|
||||
matrix:
|
||||
env:
|
||||
- { NPROC: 2 }
|
||||
- { NPROC: 6 }
|
||||
runs-on: windows-latest
|
||||
env: ${{ matrix.env }}
|
||||
|
||||
name: windows - ${{ matrix.env.NPROC }} processes
|
||||
|
||||
steps:
|
||||
- uses: eine/setup-msys2@v0
|
||||
with:
|
||||
msystem: MSYS
|
||||
update: true
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% CI_CACHE=NimBinaries update
|
||||
mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% fetch-dlls
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% LOG_LEVEL=TRACE
|
||||
build\wakunode.exe --help
|
||||
mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% test
|
||||
|
Loading…
x
Reference in New Issue
Block a user