Skip to content

chore(deps, rust): update libc6-dev, xz-utils #1450

chore(deps, rust): update libc6-dev, xz-utils

chore(deps, rust): update libc6-dev, xz-utils #1450

Workflow file for this run

---
name: Continuous Integration
on:
merge_group:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
flavor: ["cpp", "rust"]
steps:
# While the docker/build-push-action works from the Git context, we still need
# the checkout step for running our tests.
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
- uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
with:
file: .devcontainer/${{ matrix.flavor }}/Dockerfile
load: true
tags: ${{ github.repository }}-${{ matrix.flavor }}:test
cache-from: type=gha,scope=${{ github.repository }}-${{ matrix.flavor }}
- uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
if: matrix.flavor == 'cpp'
with:
path: test/.xwin-cache
key: xwin-cache
- name: Run Tests
run: |
set -Eeuo pipefail
docker run --rm --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock --mount type=bind,src="${{ github.workspace }}/.devcontainer/${{ matrix.flavor }}/test",dst=/ws -w /ws ${{ github.repository }}-${{ matrix.flavor }}:test bats --formatter junit testsuite.bats | tee test-report-${{ matrix.flavor }}.xml
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if: always()
with:
name: test-results-${{ matrix.flavor }}
path: test-report-*.xml
publish-test:
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
needs: build-test
if: always()
steps:
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
merge-multiple: true
pattern: test-results-*
- uses: EnricoMi/publish-unit-test-result-action@567cc7f8dcea3eba5da355f6ebc95663310d8a07 # v2.17.0
with:
files: test-report-*.xml