ci(windows): disable windows CI (#895)

This commit is contained in:
Hanno Cornelius 2022-03-16 15:17:48 +02:00 committed by GitHub
parent eb02e4411b
commit 751de532e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,60 +53,60 @@ jobs:
- name: Run V2 Tests - name: Run V2 Tests
run: make test2 run: make test2
windows: # windows:
strategy: # strategy:
matrix: # matrix:
env: # env:
- NPROC: 2 # - NPROC: 2
MAKEFLAGS: "-j${NPROC}" # MAKEFLAGS: "-j${NPROC}"
ARCH_OVERRIDE: "%PLATFORM%" # ARCH_OVERRIDE: "%PLATFORM%"
runs-on: windows-latest # runs-on: windows-latest
env: ${{ matrix.env }} # env: ${{ matrix.env }}
timeout-minutes: 90 # timeout-minutes: 90
name: windows - ${{ matrix.env.NPROC }} processes # name: windows - ${{ matrix.env.NPROC }} processes
steps: # steps:
- uses: eine/setup-msys2@v2 # - uses: eine/setup-msys2@v2
with: # with:
msystem: MSYS # msystem: MSYS
update: true # update: true
- name: Checkout code # - name: Checkout code
uses: actions/checkout@v2 # uses: actions/checkout@v2
# We need to do this because of how github cache works # # We need to do this because of how github cache works
# I am not sure we can move the cache file, so if we do not do this # # I am not sure we can move the cache file, so if we do not do this
# make update breaks because the cached compiler is there where the submodules # # make update breaks because the cached compiler is there where the submodules
# are meant to go. # # are meant to go.
- name: Submodules # - name: Submodules
run: git submodule update --init --recursive # run: git submodule update --init --recursive
- name: Cache nim # - name: Cache nim
uses: actions/cache@v1 # uses: actions/cache@v1
with: # with:
path: vendor/nimbus-build-system/vendor/Nim/bin # path: vendor/nimbus-build-system/vendor/Nim/bin
key: ${{ runner.os }}-${{ matrix.env.NPROC }}-nim-${{ hashFiles('.gitmodules') }} # key: ${{ runner.os }}-${{ matrix.env.NPROC }}-nim-${{ hashFiles('.gitmodules') }}
- name: Update dependencies # - name: Update dependencies
run: mingw32-make CI_CACHE=NimBinaries update # run: mingw32-make CI_CACHE=NimBinaries update
- name: Fetch DLLs # - name: Fetch DLLs
run: mingw32-make fetch-dlls # run: mingw32-make fetch-dlls
- name: Build V1 Binaries # - name: Build V1 Binaries
run: mingw32-make LOG_LEVEL=TRACE v1 # run: mingw32-make LOG_LEVEL=TRACE v1
- name: Build V2 Binaries # - name: Build V2 Binaries
run: mingw32-make LOG_LEVEL=TRACE v2 # run: mingw32-make LOG_LEVEL=TRACE v2
- name: Test Binaries # - name: Test Binaries
run: | # run: |
build\wakunode1.exe --help # build\wakunode1.exe --help
build\wakunode2.exe --help # build\wakunode2.exe --help
- name: Run V1 Tests # - name: Run V1 Tests
run: mingw32-make test1 # run: mingw32-make test1
- name: Run V2 Tests # - name: Run V2 Tests
run: mingw32-make test2 # run: mingw32-make test2