Skip to content

Commit c7c6ace

Browse files
committed
Test x86 architecture
1 parent 0d1f074 commit c7c6ace

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/build.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
on:
22
push:
33
paths:
4-
- '.github/workflows/**'
4+
- '.github/workflows/build.yml'
55
- 'CMakeLists.txt'
66
- 'dataset/**'
77
- 'include/**'
88
- 'source/**'
99
- 'tests/**'
1010
pull_request:
1111
paths:
12-
- '.github/workflows/**'
12+
- '.github/workflows/build.yml'
1313
- 'CMakeLists.txt'
1414
- 'dataset/**'
1515
- 'include/**'
@@ -22,13 +22,24 @@ jobs:
2222
runs-on: ubuntu-20.04
2323
strategy:
2424
matrix:
25-
arch: [x86_64, aarch64]
25+
arch: [x86]
2626
cpu_instr: [non-SIMD, SSE2, AVX2, NEON, auto-selected]
2727

2828
steps:
2929
- uses: actions/checkout@v3
3030
with:
3131
submodules: true
32+
- name: Setup Alpine Linux for x86
33+
if: matrix.arch == 'x86' && matrix.cpu_instr == 'auto-selected'
34+
uses: jirutka/setup-alpine@v1
35+
with:
36+
arch: x86
37+
shell-name: alpine-x86.sh
38+
- name: Build trimal for Linux x86
39+
if: matrix.arch == 'x86' && matrix.cpu_instr == 'auto-selected'
40+
run: cmake . && make && file bin/trimal && file bin/readal &&
41+
./scripts/generate_trimmed_msas.sh && ./scripts/compare_trimmed_msas.sh
42+
shell: alpine-x86.sh {0}
3243
- name: Build trimal for Linux x86_64
3344
if: matrix.arch == 'x86_64' && matrix.cpu_instr == 'non-SIMD'
3445
run: cmake . -DDISABLE_SSE2=1 -DDISABLE_AVX2=1 && make && file bin/trimal && file bin/readal &&

0 commit comments

Comments
 (0)