Update cobhan-go #115
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: Test Asherah-Cobhan | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-linux: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
container: | |
image: golang:1.20.7-bullseye | |
options: --ulimit core=-1 --ulimit memlock=-1:-1 | |
steps: | |
- uses: actions/checkout@v2 | |
# Fix "fatal: detected dubious ownership in repository" | |
- name: Change owner of container working directory | |
run: chown root:root . | |
- name: Configure packages | |
run: scripts/ubuntu-configure.sh | |
- name: Build for Linux x64 | |
run: scripts/ubuntu-build-x64.sh | |
- name: Build for Linux arm64 | |
run: scripts/ubuntu-build-arm64.sh | |
build-macos: | |
timeout-minutes: 15 | |
runs-on: 'macos-latest' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.20.7 | |
- name: Build for MacOS | |
run: scripts/macos-build.sh |