mirror of
https://github.com/walles/moar.git
synced 2024-11-21 16:04:20 +03:00
Enable running tests in 32 bit mode
One is failing. Ref: https://github.com/walles/moar/issues/140
This commit is contained in:
parent
daafbcdac4
commit
fbc1dc9e49
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
/releases
|
3
.github/workflows/linux-ci.yml
vendored
3
.github/workflows/linux-ci.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
go-version-file: "go.mod"
|
||||
|
||||
# golangci-lint is required by test.sh. Latest version here if you want
|
||||
# to bump it, version number is at the end of the "curl | sh"
|
||||
@ -25,3 +25,4 @@ jobs:
|
||||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)"/bin v1.51.2
|
||||
|
||||
- run: ./test.sh
|
||||
- run: GOARCH=386 ./test.sh
|
||||
|
13
Dockerfile-test-386
Normal file
13
Dockerfile-test-386
Normal file
@ -0,0 +1,13 @@
|
||||
# Run the tests in 32 bit mode:
|
||||
# docker build . -f Dockerfile-test-386
|
||||
|
||||
FROM golang:1.20
|
||||
|
||||
WORKDIR /moar
|
||||
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN GOARCH=386 go test -v ./...
|
Loading…
Reference in New Issue
Block a user