ci / Nix flake checks (push) Failing after 1h6m15s
- run on the 'nix' label with Nix preinstalled; drop the installer action - replace the inline release API calls with vpm/publish.sh - add curl to the devShell for the publish step
28 lines
593 B
YAML
28 lines
593 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
nix-flake:
|
|
name: Nix flake checks
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Check flake
|
|
run: nix flake check --print-build-logs
|
|
|
|
# package.sh bundles the cdylib from ./result/lib, so link the aac package first.
|
|
- name: Build Rust core
|
|
run: nix build .#aac --print-build-logs
|
|
|
|
- name: Package VPM zip
|
|
run: nix develop -c ./vpm/package.sh
|
|
|
|
- name: Build Unity bundle
|
|
run: nix build .#default --print-build-logs
|