ci: skip go build for tests (#7899)

This commit is contained in:
Jeffrey Morgan 2024-12-04 21:22:36 -08:00 committed by GitHub
parent c6c526275d
commit aed1419c64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -243,7 +243,7 @@ jobs:
$env:PATH="$gopath;$gccpath;$env:PATH" $env:PATH="$gopath;$gccpath;$env:PATH"
echo $env:PATH echo $env:PATH
if (!(gcc --version | select-string -quiet clang)) { throw "wrong gcc compiler detected - must be clang" } if (!(gcc --version | select-string -quiet clang)) { throw "wrong gcc compiler detected - must be clang" }
make -j 4 make -j 4
- name: 'Build Unix Go Runners' - name: 'Build Unix Go Runners'
if: ${{ ! startsWith(matrix.os, 'windows-') }} if: ${{ ! startsWith(matrix.os, 'windows-') }}
run: make -j 4 run: make -j 4
@ -310,8 +310,7 @@ jobs:
arm64) echo ARCH=arm64 ;; arm64) echo ARCH=arm64 ;;
esac >>$GITHUB_ENV esac >>$GITHUB_ENV
shell: bash shell: bash
- run: go build - run: go test ./...
- run: go test -v ./...
patches: patches:
needs: [changes] needs: [changes]
@ -323,4 +322,4 @@ jobs:
submodules: recursive submodules: recursive
- name: Verify patches carry all the changes - name: Verify patches carry all the changes
run: | run: |
make apply-patches sync && git diff --compact-summary --exit-code llama make apply-patches sync && git diff --compact-summary --exit-code llama