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