File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 15
15
FORCE_COLOR : 3
16
16
17
17
jobs :
18
+ generate-jobs :
19
+ runs-on : ubuntu-latest
20
+ outputs :
21
+ session : ${{ steps.set-matrix.outputs.session }}
22
+ steps :
23
+ - uses : actions/checkout@v3
24
+ - uses : henryiii/nox@henryiii/feat/json
25
+ - id : set-matrix
26
+ run : |
27
+ MATRIX=$(
28
+ nox --json -l | jq -c '[.[].session]'
29
+ )
30
+ echo "session=$MATRIX" | tee --append $GITHUB_OUTPUT
31
+
18
32
checks :
33
+ needs : [generate-jobs]
19
34
runs-on : ${{ matrix.runs-on }}
20
35
strategy :
21
36
fail-fast : false
22
37
matrix :
23
38
runs-on : [ubuntu-latest, macos-latest, windows-latest]
39
+ session : ${{ fromJson(needs.generate-jobs.outputs.session) }}
40
+ exclude :
41
+ - runs-on : windows-latest
42
+ session : test(hello-cmake-package)
43
+ - runs-on : windows-latest
44
+ session : dist(hello-cmake-package)
24
45
25
- name : Check on ${{ matrix.runs-on }}
46
+ name : Session ${{ matrix.session }} on ${{ matrix.runs-on }}
26
47
27
48
steps :
28
49
- uses : actions/checkout@v3
29
- - uses : wntrblm/nox@main
30
- - run : nox
50
+ - uses : wntrblm/nox@2022.11.21
51
+ - run : nox -s '${{ matrix.session }}'
31
52
32
53
pass :
33
54
if : always()
You can’t perform that action at this time.
0 commit comments