-
Notifications
You must be signed in to change notification settings - Fork 119
45 lines (44 loc) · 1.49 KB
/
zig-master-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Build Microzig Master
on:
push:
branches: [zig-master]
pull_request:
branches: [zig-master]
<<<<<<< HEAD
# A simple workflow that will, upon a push or PR to zig-master, build microzig
=======
>>>>>>> ea386ec (ci: implement build pipeline and patch to zig master)
jobs:
# No we don't need this still, I'm just happy about figuring out the jq query
# (I don't want to hear that it is simple, I think it's cool xD)
# get-branch:
# runs-on: ubuntu-latest
# outputs:
# ref: ${{ steps.gmrp.outputs.ref }}
# steps:
# - name: checkout
# uses: actions/checkout@v4
# - name: get-most-recent-pr
# id: gmrp
# run: |
# echo "ref=$(gh pr list -B zig-master --limit 30 --json headRefName,number -q '[.[] | select(.headRefName | startswith("master-patch"))] | max_by(.number) | .headRefName')" >> $GITHUB_OUTPUT
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-microzig-master-post-pr:
name: Build with master
<<<<<<< HEAD
uses: ./.github/workflows/build-base.yml
=======
uses: ./.github/workflows/zig-build-base.yml
>>>>>>> ea386ec (ci: implement build pipeline and patch to zig master)
with:
zig-version: master
get-submodules: true
is-packaged: true
artifact-output-paths: boxzer-out
<<<<<<< HEAD
zig-args: -Doptimize=ReleaseSmall
=======
>>>>>>> ea386ec (ci: implement build pipeline and patch to zig master)
secrets:
downloads-url: ${{ secrets.DOWNLOADS_URL }}