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