Skip to content

Commit

Permalink
pass GOFLAGS into run container
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Sep 4, 2023
1 parent ab16a5f commit b8eb020
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/server-32bit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,15 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: test
env:
# env:
# EXTRA_FLAGS: -tags no_tflite,no_pigpio
# GO_TAGS: no_tflite,no_pigpio
# CGO_ENABLED: '1'
GOFLAGS: -tags=no_tflite,no_pigpio -buildvcs=false
run: docker run --rm -v $PWD/:/rdk ghcr.io/viamrobotics/viam-server:armv7 sh -c "go version && go list -json $EXTRA_FLAGS ./... | etc/splitter.py ${{ matrix.index }} --nbins 5 --command \"go test\" --fail-empty"
run: |
docker run --rm \
-v $PWD/:/rdk ghcr.io/viamrobotics/viam-server:armv7 \
--env GOFLAGS="-tags=no_tflite,no_pigpio -buildvcs=false" \
sh -c "go version && go list -json $EXTRA_FLAGS ./... | etc/splitter.py ${{ matrix.index }} --nbins 5 --command \"go test\" --fail-empty"
build:
needs: [test]
runs-on: buildjet-4vcpu-ubuntu-2204-arm
Expand Down

0 comments on commit b8eb020

Please sign in to comment.