github: Test with musl #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Tests (musl) | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-buildx-action@v3 | |
- name: Build container | |
run: | | |
docker buildx build --load -t dqlite --build-arg=DQLITE_LOCATION=. . | |
- name: Run tests | |
run: | | |
docker run --privileged --name gha dqlite contrib/run-tests | |
- name: Extract files | |
if: failure() | |
run: | | |
docker container cp gha:/src/dqlite extracted | |
- name: Upload core dumps | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
path: extracted/core.* |