Skip to content

Commit a6ed00c

Browse files
committed
Add alpine
1 parent 0b395b3 commit a6ed00c

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/compilation.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,30 @@ jobs:
8585
uses: actions/upload-artifact@v4
8686
with:
8787
name: masp-${{ matrix.debug }}-${{ matrix.os[0] }}-${{ matrix.os[1] }}-${{ matrix.sanitizer }}
88+
path: build-cmake/src/masp
89+
90+
build-alpine:
91+
runs-on: ubuntu-latest
92+
container: alpine:latest
93+
steps:
94+
- uses: actions/checkout@v4
95+
96+
- name: Install Alpine packages
97+
run: |
98+
apk add --no-cache build-base cmake git
99+
100+
- name: Compile MASP (Alpine, no sanitizers)
101+
run: |
102+
cmake -B build-cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_ASAN=OFF
103+
cmake --build build-cmake --config RelWithDebInfo
104+
105+
- name: Run unit tests (ctest)
106+
run: |
107+
ctest --test-dir build-cmake -C RelWithDebInfo --output-on-failure
108+
109+
- name: Upload artifacts
110+
if: ${{ success() }}
111+
uses: actions/upload-artifact@v4
112+
with:
113+
name: masp-RelWithDebInfo-alpine-x86_64-none
88114
path: build-cmake/src/masp

0 commit comments

Comments
 (0)