-
Notifications
You must be signed in to change notification settings - Fork 38
41 lines (38 loc) · 887 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "Windows CI Unit Tests"
on:
push:
branches:
- main
pull_request:
paths:
- 'naxsi_src/**'
- 'unit-tests/**'
- 'distros/**'
# Automatically cancel any previous workflow on new push.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
build-test:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
nginx:
- 1.24.0
- 1.23.2
- 1.22.1
runs-on: ${{ matrix.os }}
defaults:
run:
shell: cmd
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
persist-credentials: false
- name: Windows build
run: .scripts\ci-windows-build.bat ${{ matrix.nginx }}
- name: Unit Tests
run: .scripts\ci-windows-test.bat