Support 32 bit (#374)

Add build for 32 bits linux

improved windows test time
This commit is contained in:
Maycon Santos
2022-07-01 10:42:38 +02:00
committed by GitHub
parent fa7b413fe7
commit e95f0f7acb
5 changed files with 15 additions and 21 deletions

View File

@@ -5,13 +5,13 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18.x]
arch: ['386','amd64']
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
go-version: 1.18.x
- name: Cache Go modules
@@ -32,4 +32,4 @@ jobs:
run: go mod tidy
- name: Test
run: go test -exec 'sudo --preserve-env=CI' -timeout 5m -p 1 ./...
run: GOARCH=${{ matrix.arch }} go test -exec 'sudo --preserve-env=CI' -timeout 5m -p 1 ./...