Skip to content

Commit e3b9c4e

Browse files
committed
Use libsimdjson-dev from Hirsute in Meson CI
1 parent b919d26 commit e3b9c4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/meson.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
- name: Install dependencies
1313
run: |
1414
sudo rm /etc/apt/sources.list /etc/apt/sources.list.d/*
15-
printf "Enabled: yes\nTypes: deb\nURIs: http://azure.archive.ubuntu.com/ubuntu/\nSuites: focal focal-updates focal-backports focal-security devel\nComponents: main universe multiverse restricted\n" | sudo tee /etc/apt/sources.list.d/system.sources
15+
printf "Enabled: yes\nTypes: deb\nURIs: http://azure.archive.ubuntu.com/ubuntu/\nSuites: focal focal-updates focal-backports focal-security hirsute\nComponents: main universe multiverse restricted\n" | sudo tee /etc/apt/sources.list.d/system.sources
1616
printf "APT::Default-Release \"focal\";\n" | sudo tee /etc/apt/apt.conf.d/00default-release
17-
sudo apt-get -qq update && sudo apt-get -qq install --assume-yes meson libsimdjson-dev libcurl4-openssl-dev
17+
sudo apt-get -qq update && sudo apt-get -qq install --assume-yes meson libcurl4-openssl-dev libsimdjson-dev/hirsute
1818
1919
- name: Configure Meson
2020
run: meson setup build --buildtype=release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cloudflare-ddns relies only on libcurl and simdjson. I recommend you to compile
1414

1515
## Build
1616

17-
To build cloudflare-ddns you'll need to install `meson`, `pkg-config`, `cmake`, `libcurl4-openssl-dev` and `libsimdjson-dev`. You should be fine with the packages available in Debian 10 (+backports) or Ubuntu Focal.
17+
To build cloudflare-ddns you'll need to install `meson`, `pkg-config`, `cmake`, `libcurl4-openssl-dev` and a recent version of `libsimdjson-dev`. You should be fine with the packages available in Debian 10 (+backports) or Ubuntu Hirsute.
1818

1919
After having installed the dependencies, you can build the program with `meson setup build --buildtype=relese` and then `meson compile -C build`. If your Meson version is too old, you have to run `ninja -C build` instead of `meson compile`.
2020

0 commit comments

Comments
 (0)