Files
av3-animation-as-crab/.gitea/workflows/ci.yml
T
doloro c4ed44e00b
ci / Nix flake checks (push) Successful in 9s
release / Publish VPM release (push) Successful in 12s
ci: run the vpm scripts through bash
The nix runner has no /usr/bin/env, so the '#!/usr/bin/env bash' shebang
cannot resolve; invoke the scripts as arguments to bash instead.
2026-09-19 17:52:06 +01:00

28 lines
598 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 bash ./vpm/package.sh
- name: Build Unity bundle
run: nix build .#default --print-build-logs