-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (35 loc) · 951 Bytes
/
test.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
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.12-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.12
- name: Build for MacOS
run: scripts/macos-build.sh