@@ -21,14 +21,14 @@ jobs:
21
21
strategy :
22
22
matrix :
23
23
arch : [x86_64, aarch64]
24
- cpu_instr : [non_SIMD , SSE2, AVX2, NEON]
24
+ cpu_instr : [non-SIMD , SSE2, AVX2, NEON, auto-selected ]
25
25
26
26
steps :
27
27
- uses : actions/checkout@v3
28
28
with :
29
29
submodules : true
30
30
- name : Build trimal for Linux x86_64
31
- if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'non_SIMD '
31
+ if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'non-SIMD '
32
32
run : cmake . -DDISABLE_SSE2=1 -DDISABLE_AVX2=1 && make && file bin/trimal && file bin/readal &&
33
33
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
34
34
- name : Build trimal for Linux x86_64 and SSE2
39
39
if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'AVX2'
40
40
run : cmake . -DDISABLE_SSE2=1 && make && file bin/trimal && file bin/readal &&
41
41
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
42
+ - name : Build trimal for Linux x86_64 and auto-selected SIMD
43
+ if : matrix.arch == 'x86_64' && matrix.cpu_instr == 'auto-selected'
44
+ run : cmake . && make && file bin/trimal && file bin/readal &&
45
+ ./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
42
46
43
47
- name : Build trimal for Linux aarch64
44
- if : matrix.arch == 'aarch64' && matrix.cpu_instr == 'non_SIMD '
48
+ if : matrix.arch == 'aarch64' && matrix.cpu_instr == 'non-SIMD '
45
49
uses : uraimo/run-on-arch-action@v2
46
50
# Emulate ARM architecture since it's not natively supported by GitHub.
47
51
# Warning about image and host platforms not matching may be ignored (https://github.com/uraimo/run-on-arch-action/issues/127#issuecomment-1605691328)
74
78
run : |
75
79
cmake . -DDISABLE_SSE2=1 -DDISABLE_AVX2=1 && make && file bin/trimal && file bin/readal &&
76
80
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
81
+ - name : Build trimal for Linux aarch64 and auto-selected SIMD
82
+ if : matrix.arch == 'aarch64' && matrix.cpu_instr == 'auto-selected'
83
+ uses : uraimo/run-on-arch-action@v2
84
+ # Emulate ARM architecture since it's not natively supported by GitHub.
85
+ # Warning about image and host platforms not matching may be ignored (https://github.com/uraimo/run-on-arch-action/issues/127#issuecomment-1605691328)
86
+ with :
87
+ arch : ${{ matrix.arch }}
88
+ distro : ubuntu20.04
89
+ githubToken : ${{ github.token }}
90
+ dockerRunArgs : |
91
+ --volume "${PWD}:/trimal"
92
+ install : |
93
+ apt-get update -q -y
94
+ apt-get install -q -y cmake make g++ file
95
+ run : |
96
+ cmake . && make && file bin/trimal && file bin/readal &&
97
+ ./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
0 commit comments