CI:add test in arch 386
@@ -106,3 +106,25 @@ jobs:
run: |
make docker-compose
make docker-compose-down
+
+ test-goarch-386:
+ name: Test GOARCH=386
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up Go
+ uses: actions/setup-go@v2
+ with:
+ go-version: 1.16
+
+ - name: Build
+ run: make
+ env:
+ GOARCH: 386
+
+ - name: Run unit tests
+ run: go test `go list ./... | grep -v "dapp/mix"` -covermode=atomic
+ env:
+ GOARCH: 386
