@@ -45,31 +45,31 @@ jobs:
45
45
shell-name : alpine-x86.sh
46
46
47
47
- name : Build trimal for Linux x86
48
- if : matrix.arch == 'x86' && matrix.cpu_instr == 'non-SIMD'
48
+ if : matrix.arch == 'x86' && matrix.cpu_instr == 'non-SIMD' && matrix.os == 'alpine'
49
49
run : cmake . -DDISABLE_SSE2=1 -DDISABLE_AVX2=1 && make && file bin/trimal && file bin/readal &&
50
50
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
51
51
shell : alpine-x86.sh {0}
52
52
- name : Build trimal for Linux x86 and SSE2
53
- if : matrix.arch == 'x86' && matrix.cpu_instr == 'SSE2'
53
+ if : matrix.arch == 'x86' && matrix.cpu_instr == 'SSE2' && matrix.os == 'alpine'
54
54
run : cmake . -DDISABLE_AVX2=1 && make && file bin/trimal && file bin/readal &&
55
55
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
56
56
shell : alpine-x86.sh {0}
57
57
- name : Build trimal for Linux x86 and auto-selected SIMD (AVX2 if available)
58
- if : matrix.arch == 'x86' && matrix.cpu_instr == 'auto-selected'
58
+ if : matrix.arch == 'x86' && matrix.cpu_instr == 'auto-selected' && matrix.os == 'alpine'
59
59
run : cmake . && make && file bin/trimal && file bin/readal &&
60
60
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
61
61
shell : alpine-x86.sh {0}
62
62
63
63
- name : Build trimal for Linux x86_64
64
- if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'non-SIMD'
64
+ if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'non-SIMD' && matrix.os == 'ubuntu'
65
65
run : cmake . -DDISABLE_SSE2=1 -DDISABLE_AVX2=1 && make && file bin/trimal && file bin/readal &&
66
66
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
67
67
- name : Build trimal for Linux x86_64 and SSE2
68
- if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'SSE2'
68
+ if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'SSE2' && matrix.os == 'ubuntu'
69
69
run : cmake . -DDISABLE_AVX2=1 && make && file bin/trimal && file bin/readal &&
70
70
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
71
71
- name : Build trimal for Linux x86_64 and auto-selected SIMD (AVX2 if available)
72
- if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'auto-selected'
72
+ if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'auto-selected' && matrix.os == 'ubuntu'
73
73
run : cmake . && make && file bin/trimal && file bin/readal &&
74
74
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
75
75
@@ -133,7 +133,7 @@ jobs:
133
133
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
134
134
135
135
- name : Build trimal for Linux aarch64
136
- if : matrix.arch == 'aarch64' && matrix.cpu_instr == 'non-SIMD'
136
+ if : matrix.arch == 'aarch64' && matrix.cpu_instr == 'non-SIMD' && matrix.os == 'ubuntu'
137
137
uses : uraimo/run-on-arch-action@v2
138
138
# Emulate ARM architecture since it's not natively supported by GitHub.
139
139
# Warning about image and host platforms not matching may be ignored (https://github.com/uraimo/run-on-arch-action/issues/127#issuecomment-1605691328)
@@ -150,7 +150,7 @@ jobs:
150
150
cmake . -DDISABLE_NEON=1 && make && file bin/trimal && file bin/readal &&
151
151
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
152
152
- name : Build trimal for Linux aarch64 and auto-selected SIMD (NEON)
153
- if : matrix.arch == 'aarch64' && matrix.cpu_instr == 'auto-selected'
153
+ if : matrix.arch == 'aarch64' && matrix.cpu_instr == 'auto-selected' && matrix.os == 'ubuntu'
154
154
uses : uraimo/run-on-arch-action@v2
155
155
# Emulate ARM architecture since it's not natively supported by GitHub.
156
156
# 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