-
-
Notifications
You must be signed in to change notification settings - Fork 1
68 lines (64 loc) · 1.42 KB
/
pr-func-tests.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Func Tests
on:
pull_request:
jobs:
basic-func-test:
runs-on: ubuntu-22.04
steps:
- name: Checkout action code
uses: actions/checkout@v3
- name: Run Pkg Action
uses: ./
id: basic-func-test
with:
entrypoint: bin/test
basic-cross-platform-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-22.04
- windows-2022
steps:
- name: Checkout action code
uses: actions/checkout@v3
- name: Run Pkg Action
uses: ./
id: basic-func-test
with:
entrypoint: bin/test
upload: false
basic-cross-everything-test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
arch:
- x64
- arm64
node-version:
- "16"
os:
- linux
- macos
- win
pkg:
- "@yao-pkg/[email protected]"
steps:
- name: Checkout action code
uses: actions/checkout@v3
- name: Run Pkg Action
uses: ./
id: basic-func-test
with:
arch: ${{ matrix.arch }}
entrypoint: bin/test
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
pkg: ${{ matrix.pkg }}
upload: false