2024-06-21 12:43:15 +02:00
|
|
|
name: Build library & run tests
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-06-22 13:02:54 +02:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
feature:
|
|
|
|
- tcp
|
|
|
|
- unix
|
2024-06-21 12:43:15 +02:00
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
2024-06-22 13:02:54 +02:00
|
|
|
- name: Run clippy
|
2024-06-23 01:50:36 +02:00
|
|
|
run: nix build .#clippy_${{ matrix.feature }}
|
2024-06-22 13:02:54 +02:00
|
|
|
- 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
|