Skip to content

Commit a074e40

Browse files
authored
maint: hack: use focal planck on jammy (#206)
There are no Ubuntu jammy planck binaries yet. For now we'll hack around this by using the Ubuntu focal binaries for planck on yammy. That last official binaries built for planck on ubuntu are v2.25.0. So we are behind the current planck version of v2.27.0. But that's probably fine for now.
1 parent 3689f55 commit a074e40

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/libs-test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,15 @@ jobs:
6464

6565
- name: Install planck
6666
run: |
67-
sudo add-apt-repository -y ppa:mfikes/planck
68-
sudo apt-get update
69-
sudo apt-get install -y planck
67+
# There are not planck binaries for jammy yet, so hack-around to use focal release
68+
sudo add-apt-repository -y "deb http://cz.archive.ubuntu.com/ubuntu focal main universe"
69+
sudo add-apt-repository -y "deb http://security.ubuntu.com/ubuntu focal-security main"
70+
71+
# is missing after installing planck so compensate
72+
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y libicu66
73+
74+
wget https://launchpad.net/~mfikes/+archive/ubuntu/planck/+files/planck_2.25.0-1ppa1~focal1_amd64.deb
75+
sudo apt-get install ./planck_2.25.0-1ppa1~focal1_amd64.deb
7076
7177
- name: Install Clojure tools
7278
uses: DeLaGuardo/[email protected]

.github/workflows/unit-test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,15 @@ jobs:
9898
if: matrix.os == 'macos'
9999
- name: Install planck (linux)
100100
run: |
101-
sudo add-apt-repository -y ppa:mfikes/planck
102-
sudo apt-get update
103-
sudo apt-get install -y planck
101+
# There are not planck binaries for jammy yet, so hack-around to use focal release
102+
sudo add-apt-repository -y "deb http://cz.archive.ubuntu.com/ubuntu focal main universe"
103+
sudo add-apt-repository -y "deb http://security.ubuntu.com/ubuntu focal-security main"
104+
105+
# is missing after installing planck so compensate
106+
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y libicu66
107+
108+
wget https://launchpad.net/~mfikes/+archive/ubuntu/planck/+files/planck_2.25.0-1ppa1~focal1_amd64.deb
109+
sudo apt-get install ./planck_2.25.0-1ppa1~focal1_amd64.deb
104110
if: matrix.os == 'ubuntu'
105111

106112
#

0 commit comments

Comments
 (0)