Skip to content

Commit

Permalink
meta: replace build-windows for test-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ad committed Nov 4, 2023
1 parent 401ea75 commit a733e0a
Showing 1 changed file with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Build Windows
name: Test Windows

on:
pull_request:
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/build-windows.yml'
- '!.github/workflows/test-windows.yml'
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
Expand All @@ -16,7 +16,7 @@ on:
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/build-windows.yml'
- '!.github/workflows/test-windows.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -30,13 +30,9 @@ permissions:
contents: read

jobs:
build-windows:
test-windows:
if: github.event.pull_request.draft == false
strategy:
matrix:
windows: [windows-2022]
fail-fast: false
runs-on: ${{ matrix.windows }}
runs-on: windows-2022
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
Expand All @@ -45,9 +41,17 @@ jobs:
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
run: choco install nasm
- name: Environment Information
run: npx envinfo
- name: Install deps
run: choco install nasm
- name: Build
run: ./vcbuild.bat
- name: Test CI JS
run: ./vcbuild.bat release noprojgen nobuild ignore-flaky test-ci-js
env:
test_ci_args: --mode=release --flaky-tests=dontcare --measure-flakiness 9 -p actions default pummel
- name: Test CI Native
run: ./vcbuild.bat release noprojgen nobuild ignore-flaky test-ci-native
env:
test_ci_args: --mode=release --flaky-tests=dontcare --measure-flakiness 9 -p actions addons js-native-api node-api benchmark doctool

0 comments on commit a733e0a

Please sign in to comment.