From 1d36cae26a16ca60fe7858d6bfbf5aced54fe5c8 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 17 Apr 2026 10:51:28 +0200 Subject: [PATCH] cirrus/github: Move CI for Alpine from Cirrus CI to GitHub Actions Same as the previous commit. --- .cirrus.yml | 14 -------------- .github/workflows/linux.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 14 deletions(-) delete mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml deleted file mode 100644 index 192320365..000000000 --- a/.cirrus.yml +++ /dev/null @@ -1,14 +0,0 @@ -alpine_task: - container: - image: alpine:latest - - env: - TESTS_REDUCED_KEYLENGTHS: yes - TESTS_NO_IPV6: yes - LEAK_DETECTIVE: no - MONOLITHIC: no - TEST: alpine - OS_NAME: alpine - - install_script: ./scripts/test.sh deps - script: ./scripts/test.sh diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 639045580..e2f64b46d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -199,3 +199,36 @@ jobs: name: Logs ${{ github.job }} path: config.log retention-days: 5 + + alpine: + needs: pre-check + if: ${{ needs.pre-check.outputs.should_skip != 'true' }} + runs-on: ubuntu-latest + container: alpine:latest + env: + TESTS_REDUCED_KEYLENGTHS: yes + TEST: alpine + OS_NAME: alpine + steps: + - uses: actions/checkout@v6 + # install tar and zstd before the cache action that requires them + - run: | + apk add ccache tar zstd + echo "PATH=/usr/lib/ccache/bin:$PATH" >> $GITHUB_ENV + - uses: actions/cache@v5 + with: + path: ~/.cache/ccache + key: ccache-alpine-${{ github.sha }} + restore-keys: | + ccache-alpine- + - run: ccache -z + # don't use the default action as we don't want to build dependencies or install bash + - run: ./scripts/test.sh deps + - run: ./scripts/test.sh + - run: ccache -sv + - if: ${{ failure() }} + uses: actions/upload-artifact@v6 + with: + name: Logs ${{ github.job }} + path: config.log + retention-days: 5