Update Workflows #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |