7
7
jobs :
8
8
examples_dry_run :
9
9
name : Dry Run (${{ matrix.target }})
10
- runs-on : ubuntu-latest
10
+ runs-on : [self-hosted, macOS, ARM64]
11
11
strategy :
12
12
matrix :
13
13
target :
@@ -21,67 +21,47 @@ jobs:
21
21
- slothy.targets.aarch64.aarch64_big_experimental
22
22
steps :
23
23
- uses : actions/checkout@v3
24
- - uses : ./.github/actions/setup-ubuntu
24
+ - uses : ./.github/actions/setup-macos
25
25
- name : Run examples
26
26
run : |
27
27
python3 example.py --dry-run --only-target=${{ matrix.target }}
28
- tests :
29
- name : Tests (${{ matrix.target }})
30
- runs-on : ubuntu-latest
31
- strategy :
32
- matrix :
33
- target :
34
- - slothy.targets.arm_v7m.cortex_m7
35
- - slothy.targets.arm_v81m.cortex_m55r1
36
- - slothy.targets.arm_v81m.cortex_m85r1
37
- - slothy.targets.aarch64.cortex_a55
38
- - slothy.targets.aarch64.cortex_a72_frontend
39
- - slothy.targets.aarch64.apple_m1_firestorm_experimental
40
- - slothy.targets.aarch64.apple_m1_icestorm_experimental
41
- - slothy.targets.aarch64.aarch64_big_experimental
42
- steps :
43
- - uses : actions/checkout@v3
44
- - uses : ./.github/actions/setup-ubuntu
45
- - name : Run tests
46
- run : |
47
- python3 test.py --only-target=${{ matrix.target }}
48
28
tutorial :
49
- runs-on : ubuntu-latest
29
+ runs-on : [self-hosted, macOS, ARM64]
50
30
steps :
51
31
- uses : actions/checkout@v3
52
- - uses : ./.github/actions/setup-ubuntu
32
+ - uses : ./.github/actions/setup-macos
53
33
- name : Run tutorial
54
34
run : |
55
35
(cd tutorial && ./tutorial_all.sh)
56
36
examples_basic :
57
- runs-on : ubuntu-latest
37
+ runs-on : [self-hosted, macOS, ARM64]
58
38
steps :
59
39
- uses : actions/checkout@v3
60
- - uses : ./.github/actions/setup-ubuntu
40
+ - uses : ./.github/actions/setup-macos
61
41
- name : Run examples
62
42
run : |
63
- python3 test .py --tests simple0_m55,simple1_m55,simple0_loop_m55,simple1_loop_m55
43
+ python3 example .py --examples simple0,simple1,simple0_loop,simple1_loop
64
44
regression :
65
- runs-on : ubuntu-latest
45
+ runs-on : [self-hosted, macOS, ARM64]
66
46
steps :
67
47
- uses : actions/checkout@v3
68
48
- uses : ./.github/actions/setup-ubuntu
69
49
- name : Run regression tests
70
50
run : |
71
51
python3 regression.py --iterations 5
72
52
sqmag :
73
- runs-on : ubuntu-latest
53
+ runs-on : [self-hosted, macOS, ARM64]
74
54
steps :
75
55
- uses : actions/checkout@v3
76
- - uses : ./.github/actions/setup-ubuntu
56
+ - uses : ./.github/actions/setup-macos
77
57
- name : Run examples
78
58
run : |
79
59
(cd paper/scripts && NO_LOG=Y ./slothy_sqmag.sh)
80
60
fft :
81
- runs-on : ubuntu-latest
61
+ runs-on : [self-hosted, macOS, ARM64]
82
62
steps :
83
63
- uses : actions/checkout@v3
84
- - uses : ./.github/actions/setup-ubuntu
64
+ - uses : ./.github/actions/setup-macos
85
65
- name : Run examples
86
66
run : |
87
- (cd paper/scripts && NO_LOG=Y ./slothy_fft.sh)
67
+ (cd paper/scripts && NO_LOG=Y ./slothy_fft.sh)
0 commit comments