Skip to content

Commit

Permalink
ci: update chisel (#622)
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 authored and mr-cal committed Jan 17, 2024
1 parent a8615ee commit 3521363
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 @@ -79,9 +79,11 @@ jobs:
sudo apt install -y ninja-build cmake scons \
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 3521363

Please sign in to comment.