.github/workflows: test GH speed for reference

Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
This commit is contained in:
Guillaume Ballet 2024-12-06 14:42:10 +01:00
parent 08e6bdb550
commit f5fe324c3e
1 changed files with 24 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: i386 linux tests name: linux tests
on: on:
push: push:
@ -8,7 +8,7 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build: build-32bits:
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -22,3 +22,25 @@ jobs:
env: env:
GOOS: linux GOOS: linux
GOARCH: 386 GOARCH: 386
build-64bits:
runs-on:
- self-hosted-ghrtest-custom
- size-xl-x64
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.0
cache: false
- name: Run tests
run: |
git submodule update --init --depth 1 --recursive
go version
go run build/ci.go lint
go run build/ci.go check_tidy
go run build/ci.go check_generate
go run build/ci.go check_baddeps
go run build/ci.go install -dlgo
go run build/ci.go test -dlgo -short