mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-03 16:44:06 +02:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
on: [push, pull_request]
|
|
|
|
name: Continuous integration
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://codeberg.org/icewind/attic-action@v1
|
|
with:
|
|
name: ci
|
|
instance: https://cache.icewind.me
|
|
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
|
- run: nix flake check --keep-going
|
|
|
|
miri-tests:
|
|
runs-on: nix
|
|
needs: [checks]
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
toolchain:
|
|
["x86_64-unknown-linux-musl", "mips64-unknown-linux-gnuabi64"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://codeberg.org/icewind/attic-action@v1
|
|
with:
|
|
name: ci
|
|
instance: https://cache.icewind.me
|
|
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
|
- run: nix run .#miri -- test --target ${{ matrix.target }}
|
|
|
|
semver:
|
|
runs-on: nix
|
|
needs: checks
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://codeberg.org/icewind/attic-action@v1
|
|
with:
|
|
name: ci
|
|
instance: https://cache.icewind.me
|
|
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
|
- run: nix run .#semver-checks
|