Skip to content

Commit

Permalink
chore: validate all supported goarchs
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Jun 18, 2021
1 parent 97a9916 commit 90b4996
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/artifacts.yml
@@ -0,0 +1,37 @@
on:
pull_request:
paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
- 'COPYING'
- 'docs/**'
- '.github/*.md'
- '.github/FUNDING.yml'

name: Build Code
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
goarch: [amd64]
include:
- os: ubuntu-latest
goarch: arm
- os: windows-latest
goarch: 386
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ${{ github.workspace }}/src
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: go build
env:
GOARCH: ${{ matrix.goarch }}
4 changes: 0 additions & 4 deletions .github/workflows/code.yml
Expand Up @@ -14,10 +14,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
- os: macos-latest
- os: windows-latest
runs-on: ${{ matrix.os }}
defaults:
run:
Expand Down

0 comments on commit 90b4996

Please sign in to comment.