Build #75
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 | |
# Runs every Tuesday at 9 am UTC | |
on: | |
schedule: | |
- cron: '0 9 * * 2' | |
workflow_dispatch: | |
env: | |
GO111MODULE: on | |
jobs: | |
macos-arm64-build: | |
runs-on: [self-hosted, macos, arm64, 11, release] | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19.x | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
submodules: recursive | |
persist-credentials: false | |
- name: Install dependencies | |
# QEMU: required by Lima itself | |
# bash: required by test-example.sh (OS version of bash is too old) | |
# coreutils: required by test-example.sh for the "timeout" command | |
# autoconf: required for building vde | |
# automake: required for building vde | |
# FileMonitor: required to capture opened files by limactl and qemu- | |
run: | | |
brew update | |
brew install qemu bash coreutils | |
brew install autoconf automake | |
brew install cpanm | |
brew upgrade | |
sudo cpanm install JSON | |
curl -OL https://bitbucket.org/objective-see/deploy/downloads/FileMonitor_1.3.0.zip | |
rm -rf /Applications/FileMonitor.app | |
unzip FileMonitor_1.3.0.zip -d /Applications | |
shell: zsh {0} | |
- name: Make and release deps | |
run: | | |
(cd src/lima && git clean -f -d) | |
make -C src/lima PREFIX=/opt/homebrew all install | |
echo $0 | |
echo $UID | |
id -un | |
shell: zsh {0} | |
- name: Setup upterm session | |
uses: lhotari/action-upterm@v1 |