Skip to content

Commit

Permalink
chore(ci): update chisel
Browse files Browse the repository at this point in the history
A new version of chisel-releases breaks compatibility with chisel
binaries older than v0.8.1. Note that we can't use the chisel snap
because the tests write into /tmp and the strict snap can't do that.

Ref: canonical/rockcraft#449
  • Loading branch information
tigarmo committed Jan 16, 2024
1 parent a32c42b commit c138af9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ jobs:
sudo apt install -y ninja-build cmake scons qt5-qmake \
autoconf automake autopoint gcc git gperf help2man libtool texinfo
# Build Chisel: needs a newer version of go than is available in Ubuntu 20.04
# note: we can't use the snap here because it has strict confinement and can't access
# the test files in /tmp/pytest-*
sudo snap install --classic --channel=latest/stable go
git clone https://github.com/canonical/chisel.git chisel-tmp
cd chisel-tmp && git checkout f0bff5a30dfdcb400b # known "good" commit until Chisel has versions
cd chisel-tmp && git checkout v0.8.1
go mod download
sudo go build -o /usr/bin ./...
chisel --help
Expand Down

0 comments on commit c138af9

Please sign in to comment.