-
Notifications
You must be signed in to change notification settings - Fork 306
59 lines (52 loc) · 1.15 KB
/
source_code_ci.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
name: Source codes CI
on:
push:
branches:
- main
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
prepare_cache_ubuntu:
strategy:
matrix:
node: [18.x, 20.x]
uses: ./.github/workflows/install.yml
with:
os: ubuntu-latest
node: ${{ matrix.node }}
prepare_cache_windows:
strategy:
matrix:
node: [18.x, 20.x]
uses: ./.github/workflows/install.yml
with:
os: windows-latest
node: ${{ matrix.node }}
code_standard_check:
needs: prepare_cache_ubuntu
uses: ./.github/workflows/code_standard_check.yml
with:
os: ubuntu-latest
node: 20.x
test_windows:
needs: prepare_cache_windows
strategy:
matrix:
node: [18.x, 20.x]
uses: ./.github/workflows/test.yml
with:
os: windows-latest
node: ${{ matrix.node }}
test_ubuntu:
needs: prepare_cache_ubuntu
strategy:
matrix:
node: [18.x, 20.x]
uses: ./.github/workflows/test.yml
with:
os: ubuntu-latest
node: ${{ matrix.node }}