summaryrefslogtreecommitdiffstats
path: root/.github/workflows/os-zoo.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/os-zoo.yml')
-rw-r--r--.github/workflows/os-zoo.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/os-zoo.yml b/.github/workflows/os-zoo.yml
index bfb2aa6cd3..47c933c226 100644
--- a/.github/workflows/os-zoo.yml
+++ b/.github/workflows/os-zoo.yml
@@ -15,6 +15,43 @@ permissions:
contents: read
jobs:
+ # This has to be a separate job, it seems, because we want to use a
+ # container for it.
+ unix-container:
+ strategy:
+ fail-fast: false
+ matrix:
+ image: ['alpine:edge', 'alpine:latest']
+ cc: ['gcc', 'clang']
+ runs-on: ubuntu-latest
+ container:
+ image: ${{ matrix.image }}
+ steps:
+ - name: install packages
+ run: |
+ apk --no-cache add build-base perl linux-headers ${{ matrix.cc }}
+
+ - uses: actions/checkout@v3
+
+ - name: config
+ run: |
+ cc="${{ matrix.cc }}"
+
+ extra_cflags=""
+ if [[ ${cc} == "clang" ]] ; then
+ # https://www.openwall.com/lists/musl/2022/02/16/14
+ extra_cflags="-Wno-sign-compare"
+ fi
+
+ CC=${{ matrix.cc }} ./config --banner=Configured no-shared \
+ -Wall -Werror enable-fips --strict-warnings -DOPENSSL_USE_IPV6=0 ${extra_cflags}
+
+ - name: config dump
+ run: ./configdata.pm --dump
+ - name: make
+ run: make -s -j4
+ - name: make test
+ run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
unix:
strategy:
fail-fast: false