From 352136382164843e8b62c37a5d6fe4cfd487345a Mon Sep 17 00:00:00 2001 From: Tiago Nobrega Date: Tue, 16 Jan 2024 19:28:24 -0300 Subject: [PATCH] ci: update chisel (#622) 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: https://github.com/canonical/rockcraft/pull/449 --- .github/workflows/tests.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 075f50610..ee781380f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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