26
26
matrix :
27
27
arch : [x86, x86_64, armv7, aarch64]
28
28
cpu_instr : [non-SIMD, SSE2, auto-selected]
29
+ os : [ubuntu, alpine]
29
30
30
31
steps :
31
32
- uses : actions/checkout@v3
@@ -85,18 +86,18 @@ jobs:
85
86
shell-name : alpine-armv7.sh
86
87
87
88
- name : Build trimal for Linux armv7 (alpine)
88
- if : matrix.arch == 'armv7' && matrix.cpu_instr == 'non-SIMD'
89
+ if : matrix.arch == 'armv7' && matrix.cpu_instr == 'non-SIMD' && matrix.os == 'alpine'
89
90
run : cmake . -DDISABLE_SSE2=1 -DDISABLE_AVX2=1 && make && file bin/trimal && file bin/readal &&
90
91
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
91
92
shell : alpine-armv7.sh {0}
92
93
- name : Build trimal for Linux armv7 (alpine) and auto-selected SIMD (NEON)
93
- if : matrix.arch == 'armv7' && matrix.cpu_instr == 'auto-selected'
94
+ if : matrix.arch == 'armv7' && matrix.cpu_instr == 'auto-selected' && matrix.os == 'alpine'
94
95
run : cmake . && make && file bin/trimal && file bin/readal &&
95
96
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
96
97
shell : alpine-armv7.sh {0}
97
98
98
99
- name : Build trimal for Linux armv7 (ubuntu)
99
- if : matrix.arch == 'armv7' && matrix.cpu_instr == 'non-SIMD'
100
+ if : matrix.arch == 'armv7' && matrix.cpu_instr == 'non-SIMD' && matrix.os == 'ubuntu'
100
101
uses : uraimo/run-on-arch-action@v2
101
102
# Emulate ARM architecture since it's not natively supported by GitHub.
102
103
# Warning about image and host platforms not matching may be ignored (https://github.com/uraimo/run-on-arch-action/issues/127#issuecomment-1605691328)
@@ -114,7 +115,7 @@ jobs:
114
115
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
115
116
116
117
- name : Build trimal for Linux armv7 (ubuntu) and auto-selected SIMD (NEON)
117
- if : matrix.arch == 'armv7' && matrix.cpu_instr == 'auto-selected'
118
+ if : matrix.arch == 'armv7' && matrix.cpu_instr == 'auto-selected' && matrix.os == 'ubuntu'
118
119
uses : uraimo/run-on-arch-action@v2
119
120
# Emulate ARM architecture since it's not natively supported by GitHub.
120
121
# Warning about image and host platforms not matching may be ignored (https://github.com/uraimo/run-on-arch-action/issues/127#issuecomment-1605691328)
0 commit comments