Skip to content

Commit

Permalink
Use libsimdjson-dev from Hirsute in Meson CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Tachi107 committed Feb 28, 2021
1 parent b919d26 commit e3b9c4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/meson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- name: Install dependencies
run: |
sudo rm /etc/apt/sources.list /etc/apt/sources.list.d/*
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
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
printf "APT::Default-Release \"focal\";\n" | sudo tee /etc/apt/apt.conf.d/00default-release
sudo apt-get -qq update && sudo apt-get -qq install --assume-yes meson libsimdjson-dev libcurl4-openssl-dev
sudo apt-get -qq update && sudo apt-get -qq install --assume-yes meson libcurl4-openssl-dev libsimdjson-dev/hirsute
- name: Configure Meson
run: meson setup build --buildtype=release
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cloudflare-ddns relies only on libcurl and simdjson. I recommend you to compile

## Build

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.
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.

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`.

Expand Down

0 comments on commit e3b9c4e

Please sign in to comment.