Merge pull request #1 from birth-software/self-hosted-ci
ci: introduce self-hosted
This commit is contained in:
commit
22901def18
18
.github/workflows/lightning.yml
vendored
18
.github/workflows/lightning.yml
vendored
@ -1,13 +1,13 @@
|
||||
name: Lightning
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows/lightning.yml"
|
||||
- ".github/workflows/ci.yml"
|
||||
- "**.zig"
|
||||
push:
|
||||
paths:
|
||||
- ".github/workflows/lightning.yml"
|
||||
- ".github/workflows/ci.yml"
|
||||
- "**.zig"
|
||||
branches:
|
||||
- main
|
||||
@ -23,22 +23,18 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [
|
||||
]
|
||||
runs-on: [
|
||||
ubuntu-latest,
|
||||
macos-latest,
|
||||
windows-latest,
|
||||
]
|
||||
runs-on: ${{ matrix.os }}
|
||||
self-hosted,
|
||||
]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: davidgm94/setup-qemu@v3
|
||||
- uses: goto-bus-stop/setup-zig@v2
|
||||
with:
|
||||
version: master
|
||||
|
||||
- name: Zig environment variables
|
||||
run: zig env
|
||||
- name: Build test executables
|
||||
run: zig build all_tests -Dci --verbose
|
||||
- name: Test with QEMU
|
||||
run: zig build test_all -Dci --verbose
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user