ci: remove 386 (32 bit x86) (#5352)

The last 386 cpu was from 20 years ago (Pentium 4)
This commit is contained in:
Marco Munizaga
2025-10-05 22:23:09 -07:00
committed by GitHub
parent e6d5d960e3
commit 73e8240bd3
2 changed files with 3 additions and 16 deletions

View File

@@ -8,14 +8,10 @@ jobs:
os: [ "ubuntu" ] os: [ "ubuntu" ]
go: [ "1.24.x", "1.25.x" ] go: [ "1.24.x", "1.25.x" ]
race: [ false ] race: [ false ]
use32bit: [ false ]
include: include:
- os: "ubuntu" - os: "ubuntu"
go: "1.25.x" go: "1.25.x"
race: true race: true
- os: "ubuntu"
go: "1.25.x"
use32bit: true
- os: "windows" - os: "windows"
go: "1.25.x" go: "1.25.x"
race: false race: false
@@ -30,7 +26,7 @@ jobs:
env: env:
DEBUG: false # set this to true to export qlogs and save them as artifacts DEBUG: false # set this to true to export qlogs and save them as artifacts
TIMESCALE_FACTOR: 3 TIMESCALE_FACTOR: 3
name: "Integration (${{ matrix.os }}, Go ${{ matrix.go }}${{ matrix.race && ', race' || '' }}${{ matrix.use32bit && ', 32-bit' || '' }})" name: "Integration (${{ matrix.os }}, Go ${{ matrix.go }}${{ matrix.race && ', race' || '' }})"
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- uses: actions/setup-go@v6 - uses: actions/setup-go@v6
@@ -44,9 +40,6 @@ jobs:
- name: Enable race detector - name: Enable race detector
if: ${{ matrix.race }} if: ${{ matrix.race }}
run: echo "RACEFLAG= -race" >> $GITHUB_ENV run: echo "RACEFLAG= -race" >> $GITHUB_ENV
- name: Enable 32-bit build
if: ${{ matrix.use32bit }}
run: echo "GOARCH=386" >> $GITHUB_ENV
- run: go version - run: go version
- name: Run tools tests - name: Run tools tests
run: go test ${{ env.RACEFLAG }} -v -timeout 30s -shuffle=on ./integrationtests/tools/... 2>&1 | go-junit-report -set-exit-code -iocopy -out report_tools.xml run: go test ${{ env.RACEFLAG }} -v -timeout 30s -shuffle=on ./integrationtests/tools/... 2>&1 | go-junit-report -set-exit-code -iocopy -out report_tools.xml
@@ -75,11 +68,11 @@ jobs:
if: ${{ always() && env.DEBUG == 'true' }} if: ${{ always() && env.DEBUG == 'true' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: qlogs-${{ matrix.os }}-go${{ matrix.go }}-race${{ matrix.race }}${{ matrix.use32bit && '-32bit' || '' }} name: qlogs-${{ matrix.os }}-go${{ matrix.go }}-race${{ matrix.race }}
path: integrationtests/self/*.qlog path: integrationtests/self/*.qlog
retention-days: 7 retention-days: 7
- name: Upload report to Codecov - name: Upload report to Codecov
if: ${{ !cancelled() && !matrix.race && !matrix.use32bit }} if: ${{ !cancelled() && !matrix.race }}
uses: codecov/test-results-action@v1 uses: codecov/test-results-action@v1
with: with:
name: Unit tests name: Unit tests

View File

@@ -39,12 +39,6 @@ jobs:
go test -c -cover -tags root -o quic-go.test . go test -c -cover -tags root -o quic-go.test .
sudo ./quic-go.test -test.v -test.run "${TEST_NAMES%|}" -test.coverprofile coverage-root.txt 2>&1 | go-junit-report -set-exit-code -iocopy -package-name github.com/quic-go/quic-go -out report_root.xml sudo ./quic-go.test -test.v -test.run "${TEST_NAMES%|}" -test.coverprofile coverage-root.txt 2>&1 | go-junit-report -set-exit-code -iocopy -package-name github.com/quic-go/quic-go -out report_root.xml
rm quic-go.test rm quic-go.test
- name: Run tests (32 bit)
if: ${{ matrix.os != 'macos' }} # can't run 32 bit tests on macOS
env:
TIMESCALE_FACTOR: 10
GOARCH: 386
run: go test -v -shuffle on ./...
- name: Run tests with race detector - name: Run tests with race detector
if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow
env: env: