From be002937aca93f3d82440031831f92717e5b3db7 Mon Sep 17 00:00:00 2001 From: Matthew Gumport Date: Thu, 29 Feb 2024 13:49:27 -0800 Subject: [PATCH] rename workflow, add openresty install --- .github/workflows/{stable.yml => build.yml} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename .github/workflows/{stable.yml => build.yml} (74%) diff --git a/.github/workflows/stable.yml b/.github/workflows/build.yml similarity index 74% rename from .github/workflows/stable.yml rename to .github/workflows/build.yml index 4b74e75a..85522573 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,12 @@ jobs: - name: Install build dependencies run: | sudo apt update - sudo apt install -y cmake libclang-dev + sudo apt install -y cmake libclang-dev wget gnupg ca-certificates lsb-release --no-install-recommends + # openresty is used for convenience in tests as a server. + wget -O - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/openresty.gpg + echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/openresty.gpg] http://openresty.org/package/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/openresty.list > /dev/null + sudo apt update + sudo apt install -y openresty --no-install-recommends - name: Install toolchain uses: actions-rs/toolchain@v1