We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f12482a commit 1a5954cCopy full SHA for 1a5954c
.github/workflows/test.yaml
@@ -10,13 +10,7 @@ jobs:
10
native-os-build:
11
strategy:
12
matrix:
13
- os: [ubuntu-latest, windows-latest, macOS-latest]
14
- arch: ["386", "arm"]
15
- exclude:
16
- - os: macos-latest
17
- node: "386"
18
19
- node: "arm"
+ os: [ubuntu-latest, windows-latest, macos-latest]
20
21
runs-on: ${{ matrix.os }}
22
@@ -42,9 +36,17 @@ jobs:
42
36
shell: bash
43
37
run: task build
44
38
45
- - name: Cross-build
46
- shell: bash
47
- run: GOARCH=${{ matrix.arch }} task build
39
+ - name: Cross-build for 386
40
+ if: matrix.os != 'macos-latest'
41
+ env:
+ GOARCH: "386"
+ run: task build
+
+ - name: Cross-build for arm
48
+ GOARCH: "arm"
49
50
51
- name: Run unit tests
52
run: task test
0 commit comments