Skip to content

Commit d561369

Browse files
committed
Add build github workflow
1 parent 9566518 commit d561369

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
tags:
6+
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
7+
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+" # Push events to matching alpha releases
8+
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+" # Push events to matching beta releases
9+
- "v[0-9]+.[0-9]+.[0-9]+-patch.[0-9]+" # Push events to matching beta releases
10+
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+" # Push events to matching rc releases
11+
12+
jobs:
13+
build:
14+
runs-on: secret-vm-build-runner
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
submodules: recursive
19+
- name: build
20+
run: scripts/build_reproducible.sh
21+
- uses: actions/upload-artifact@v4
22+
with:
23+
path: |
24+
artifacts/rootfs.iso
25+
artifacts/rootfs-gpu.iso
26+
artifacts/ovmf.fd
27+
artifacts/bzImage
28+
artifacts/initramfs.cpio.gz
29+
name: artifacts

0 commit comments

Comments
 (0)