Skip to content

Commit 6504133

Browse files
authored
chore(core): add windows and macos build tests (#336)
Signed-off-by: Patrik Cyvoct <[email protected]>
1 parent cc8064e commit 6504133

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/pull-request.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: go mod download
2424
- name: Run unit tests
2525
run: go test -v ./...
26-
build-test:
26+
build-arch-test:
2727
strategy:
2828
matrix:
2929
go-version: [1.13.x]
@@ -43,3 +43,22 @@ jobs:
4343
run: go mod download
4444
- name: Test to build binary
4545
run: GOARCH=${{ matrix.arch }} go build ./...
46+
build-platform-test:
47+
strategy:
48+
matrix:
49+
go-version: [1.13.x]
50+
platform: [windows-latest, macos-latest]
51+
runs-on: ${{ matrix.platform }}
52+
steps:
53+
- name: Install Go
54+
uses: actions/setup-go@v1
55+
with:
56+
go-version: ${{ matrix.go-version }}
57+
- name: checkout
58+
uses: actions/checkout@v2
59+
with:
60+
fetch-depth: 1
61+
- name: Get dependencies
62+
run: go mod download
63+
- name: Test to build binary
64+
run: go build ./...

0 commit comments

Comments
 (0)