Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,39 @@ on: [pull_request]
jobs:
build-go-linux:
name: build-go-linux
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.19.0'
go-version: '1.25.2'

- name: Build and test
run: go build -a ./... && go test -a -v ./... -count=1

build-cwrapper-linux:
name: build-cwrapper-linux
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
packages: read
container:
image: ghcr.io/bignacio/docker-images/ubuntu-cpp-22.10:1
image: ghcr.io/bignacio/docker-images/ubuntu-cpp-25.10:1
credentials:
username: bignacio
password: ${{ secrets.GHCR_PACKAGES_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
compiler: [gcc-12, clang-15]
compiler: [gcc-15, clang-21]

steps:
- uses: actions/checkout@v3

- name: Build and test
env:
CC: ${{matrix.compiler}}
CXX: clang++-15 # needed to make cmake happy
CXX: clang++-21 # needed to make cmake happy
run: |
set -e
apt install zlib1g-dev
Expand All @@ -43,4 +46,4 @@ jobs:
cmake -B build -DCMAKE_BUILD_TYPE=Debug
make -C build
build/zwrapper_test_direct
build/zwrapper_test_stream
build/zwrapper_test_stream
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bignacio/gozlib

go 1.19
go 1.25.2

require github.com/stretchr/testify v1.8.2

Expand Down