testing new matrix build in ci workflow
This commit is contained in:
@@ -6,8 +6,9 @@ jobs:
|
||||
CI:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
goos: [linux, windows, darwin]
|
||||
goarch: [amd64, arm64]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -21,5 +22,7 @@ jobs:
|
||||
version: v1.54.2
|
||||
- name: Unit Tests
|
||||
run: ./script/test
|
||||
- name: Build
|
||||
run: GOOS=${{matrix.goos}} GOARCH=${{matrix.goarch}} go build -o bin/actions-sync main.go
|
||||
- name: Build and Test
|
||||
run: ./script/test-build
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ test -z "${DEBUG:-}" || {
|
||||
set -x
|
||||
}
|
||||
|
||||
go build -o bin/actions-sync main.go
|
||||
go build -o bin/actions-sync main.go
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
script/build
|
||||
#script/build
|
||||
|
||||
OUTPUT=$(mktemp)
|
||||
RESULT=-1
|
||||
|
||||
Reference in New Issue
Block a user