-
-
Notifications
You must be signed in to change notification settings - Fork 19
38 lines (35 loc) · 929 Bytes
/
test_win.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
name: Tests for Windows
on:
push:
branches:
- main
- 'develop-**'
- 'bugfix/**'
- 'feature/**'
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
test:
name: test
runs-on: ${{matrix.os}}
if: "! contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
include:
- target: x86_64-pc-windows-msvc
os: windows-latest
ext: exe
steps:
- uses: actions/checkout@v3
- name: Build the release target
run: |
rustup target add ${{ matrix.target }}
choco install llvm
cargo build --features oniguruma --release --verbose --target x86_64-pc-windows-msvc
# => target\x86_64-pc-windows-msvc\release\teip.exe will be created
- name: Run tests
timeout-minutes: 10
run: cargo test --verbose --features oniguruma