xo-umbrella2/.forgejo/workflows/ci.yaml
Roland Conybeare 33420d2518
Some checks failed
CI / smoke-test (push) Failing after 7m3s
.forgejo workflow: + nix build xo-alloc2 CI
2026-05-24 19:48:00 -04:00

79 lines
1.7 KiB
YAML

name: CI
on:
push:
branches: [main]
jobs:
smoke-test:
runs-on: host
steps:
- name: debug env
run:
env | sort
- name: Setup PATH
run: |
echo "/nix/var/nix/profiles/default/bin" >> $GITHUB_PATH
echo "/var/lib/forgejo-runner/.nix-profile/bin" >> $GITHUB_PATH
- name: Check PATH
run:
echo $PATH
- name: Check cwd
run:
pwd
- name: Check nix version
run:
echo $(nix --version)
- name: nix store ping
run:
nix store info
- name: checkout
run: |
# 1. actions/checkout@v4 stumbles b/c install is at conybeare.us/git
# checkout manually instead.
# 2. could clone from /var/lib/forgejo/gitea-repositories/roland/xo-umbrella2.git
# 3. instead rely on $GITHUB_SERVER_URL
git clone --quiet --depth=1 $GITHUB_SERVER_URL/roland/xo-umbrella2.git .
- name: build xo-cmake
run:
nix-build ci.nix -A xo-cmake
- name: build xo-indentlog
run:
nix-build ci.nix -A xo-indentlog
- name: build xo-subsys
run:
nix-build ci.nix -A xo-subsys
- name: build xo-flatstring
run:
nix-build ci.nix -A xo-flatstring
- name: build xo-randomgen
run:
nix-build ci.nix -A xo-randomgen
- name: build xo-reflectutil
run:
nix-build ci.nix -A xo-reflectutil
- name: build xo-arena
run:
nix-build ci.nix -A xo-arena
- name: build xo-facet
run:
nix-build ci.nix -A xo-facet
- name: build xo-alloc2
run:
nix-build ci.nix -A xo-alloc2