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 2899743
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .builds/debian.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
image: debian/bullseye
# Use oldest supported OS so we get oldest possible glibc,
# therefore maximizing compatibility.
image: debian/buster

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

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

tasks:
- build: |
curl -L 'https://go.dev/dl/go1.21.1.linux-amd64.tar.gz' > go.tar.gz
tar -xf go.tar.gz
export PATH="$PATH:$PWD/go/bin"
cd shark
export PATH="$PATH:/usr/lib/go-1.19/bin"
go version
make linux
make windows
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
jobs:

build-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04 # oldest possible OS

steps:
- 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 2899743

Please sign in to comment.