Merge branch 'philip/ci' into philip/arvo-ci

This commit is contained in:
Philip Monk 2023-01-18 17:56:09 -07:00
commit 3b5a7e5bb9
2 changed files with 17 additions and 0 deletions

View File

@ -17,6 +17,22 @@ on:
- 'nix/**'
- 'default.nix'
- 'vere-version'
pull_request:
paths:
- '.github/workflows/build.yml'
- '.github/workflows/vere.yml'
- 'pkg/arvo/**'
- 'pkg/docker-image/**'
- 'pkg/ent/**'
- 'pkg/ge-additions/**'
- 'pkg/libaes_siv/**'
- 'pkg/urbit/**'
- 'pkg/urcrypt/**'
- 'tests/**'
- 'bin/**'
- 'nix/**'
- 'default.nix'
- 'vere-version'
jobs:
call-vere:

View File

@ -80,6 +80,7 @@ jobs:
cp -RL tests pkg/arvo/tests
vere="$(cat ./vere-version | sed -e 's/\([^ ]*\) \([^ ]*\)/\1\/\2\/vere-\2/g' | tr -d '\n')"
url="$(echo https://bootstrap.urbit.org/vere/${vere}-linux-x86_64)"
# put in .jam so it doesn't crash when it gets -A'd in
curl -Lo pkg/arvo/urbit.jam "$url"
chmod +x pkg/arvo/urbit.jam
nix-build -A urbit-tests