eagle/.gitea/workflows/build.yaml

30 lines
668 B
YAML
Raw Normal View History

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
2024-06-23 01:50:36 +02:00
run: nix build .#clippy_${{ matrix.feature }}
- name: Build & test
2024-06-24 18:26:19 +02:00
run: nix build .#${{ matrix.feature }}
docs:
runs-on: nix
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build docs
run: nix build .#doc.doc
- name: (Temporary) Upload docs
2024-06-24 18:35:02 +02:00
uses: actions/upload-artifact@v3
2024-06-24 18:26:19 +02:00
with:
name: docs
2024-06-24 18:35:02 +02:00
path: ./result-doc