eagle/.gitea/workflows/build.yaml
Kodi Craft 7227379e63
All checks were successful
Build library & run tests / build (unix) (push) Successful in 32s
Build library & run tests / build (tcp) (push) Successful in 33s
Try using a matrix to run workflows in parallel
2024-06-22 13:02:54 +02:00

18 lines
418 B
YAML

name: Build library & run tests
on: [push]
jobs:
build:
strategy:
matrix:
feature:
- tcp
- unix
runs-on: nix
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run clippy
run: nix develop . -c cargo clippy --no-default-features --features ${{ matrix.feature }}
- name: Build & test
run: nix build .#${{ matrix.feature }}