untested: gmp in ci

This commit is contained in:
Kevaundray Wedderburn 2025-07-11 00:21:34 +01:00
parent 7df3cf59fd
commit 0b8287d204
3 changed files with 13 additions and 1 deletions

View file

@ -22,7 +22,7 @@ jobs:
- name: Install cross toolchain
run: |
apt-get update
apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib
apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib libgmp-dev
- name: Build (amd64)
run: |

View file

@ -28,6 +28,11 @@ jobs:
go-version: 1.24
cache: false
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgmp-dev
- name: Run linters
run: |
go run build/ci.go lint
@ -54,5 +59,10 @@ jobs:
go-version: ${{ matrix.go }}
cache: false
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgmp-dev
- name: Run tests
run: go test ./...

View file

@ -22,6 +22,8 @@ for:
- matrix:
only:
- image: Ubuntu
install:
- sudo apt-get update && sudo apt-get install -y libgmp-dev
build_script:
- go run build/ci.go lint
- go run build/ci.go check_generate