Skip to content

Commit 83dbb4f

Browse files
committed
CI: add big endian CI
Alpine supports more platforms bug many are redundant. riscv64 is included as it's very new and s390x is big endian. Signed-off-by: Rosen Penev <[email protected]>
1 parent 8bb4036 commit 83dbb4f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/on_PR_linux_matrix.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,34 @@ jobs:
5555
run: |
5656
cd build-base_linux
5757
ctest --output-on-failure
58+
Alpine:
59+
name: 'Alpine Edge - GCC, BuildType:${{matrix.build_type}}, SHARED:${{matrix.shared_libraries}} ARCH:${{matrix.arch}}'
60+
runs-on: ubuntu-latest
61+
62+
strategy:
63+
fail-fast: false
64+
matrix:
65+
arch: ['riscv64', 's390x']
66+
build_type: [Release, Debug]
67+
shared_libraries: [ON, OFF]
68+
69+
defaults:
70+
run:
71+
shell: alpine.sh {0}
72+
73+
steps:
74+
- uses: actions/checkout@v4
75+
- uses: jirutka/setup-alpine@v1
76+
with:
77+
arch: ${{matrix.arch}}
78+
branch: edge
79+
packages: >
80+
build-base cmake samurai brotli-dev curl-dev expat-dev inih-inireader-dev gtest-dev python3-dev zlib-dev
81+
- name: Build
82+
run: |
83+
cmake --preset base_linux -S . -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBUILD_SHARED_LIBS=${{matrix.shared_libraries}} -DCONAN_AUTO_INSTALL=OFF
84+
cmake --build build-base_linux --parallel
85+
- name: Test
86+
run: |
87+
cd build-base_linux
88+
ctest --output-on-failure

0 commit comments

Comments
 (0)