Skip to content

Commit

Permalink
update CI builds to go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanb committed Sep 17, 2023
1 parent c92329d commit b030be2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .builds/debian.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image: debian/bullseye
image: debian/bookworm

packages:
- golang-1.19
- golang-1.21
# The following copied as-is from https://ebiten.org/documents/install.html
- libc6-dev
- libglu1-mesa-dev
Expand All @@ -15,12 +15,12 @@ packages:
- pkg-config

repositories:
backports: http://deb.debian.org/debian bullseye-backports main
backports: http://deb.debian.org/debian bookworm-backports main

tasks:
- build: |
cd shark
export PATH="$PATH:/usr/lib/go-1.19/bin"
export PATH="$PATH:/usr/lib/go-1.21/bin"
go version
make linux
make windows
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: Install ebiten linux deps
run: make deps-debian
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: Install ebiten linux deps
run: make deps-debian
Expand Down Expand Up @@ -99,13 +99,13 @@ jobs:
fi
build-macos:
runs-on: macos-10.15
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: Build for macOS
env:
Expand Down

0 comments on commit b030be2

Please sign in to comment.