-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (57 loc) · 1.53 KB
/
issue-5.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
name: Issue 5
on: push
jobs:
# Setup matrix
setup-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.setup-matrix.outputs.matrix }}
steps:
- id: setup-matrix
uses: druzsan/setup-matrix@feature/use-python-dockerfile
with:
matrix: |
include:
- os: linux
cpu: amd64
run-on: ubuntu-latest
shell: bash -e
- os: macos
cpu: amd64
run-on: macos-latest
shell: bash -e
- os: windows
cpu: amd64
run-on: windows-latest
shell: msys2
# Setup python and print version
build:
needs: setup-matrix
strategy:
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
runs-on: ${{ matrix.run-on }}
name: '${{ matrix.os }}-${{ matrix.cpu }}-${{ matrix.shell }}'
steps:
- name: Checkout sources
uses: actions/checkout@v4
build-builtin:
strategy:
matrix:
include:
- os: linux
cpu: amd64
run-on: ubuntu-latest
shell: bash -e
- os: macos
cpu: amd64
run-on: macos-latest
shell: bash -e
- os: windows
cpu: amd64
run-on: windows-latest
shell: msys2
runs-on: ${{ matrix.run-on }}
name: '${{ matrix.os }}-${{ matrix.cpu }}-${{ matrix.shell }}'
steps:
- name: Checkout sources
uses: actions/checkout@v4