Skip to content

Build aarch64 and x86_64 Mercury #6

Build aarch64 and x86_64 Mercury

Build aarch64 and x86_64 Mercury #6

Workflow file for this run

name: Build x86_64 and aarch64 Mercury
on:
# Exclude all branches from push events.
push:
branches: '!**'
# Exclude all branches from pull_request events.
pull_request:
branches: '!**'
# Allow a workflow to be run manually.
workflow_dispatch:
env:
MERCURY_ROTD: '2023-12-20'
jobs:
build-mercury:
name: Build x86_64 and aarch64 Mercury
runs-on: macos-11
steps:
- uses: actions/checkout@v3
with:
clean: true
- name: Run build script
run: ./bin/install-then-build.sh
- name: Upload x86_64 artifact
uses: actions/upload-artifact@v3
with:
name: mercury-rotd-${{ env.MERCURY_ROTD }}-x86_64-apple-darwin
path: output/mercury-rotd-${{ env.MERCURY_ROTD }}-x86_64-apple-darwin.tar.gz
- name: Upload aarch64 artifact
uses: actions/upload-artifact@v3
with:
name: mercury-rotd-${{ env.MERCURY_ROTD }}-aarch64-apple-darwin
path: output/mercury-rotd-${{ env.MERCURY_ROTD }}-aarch64-apple-darwin.tar.gz