From 0a2809b9d2cf3ff2016015cff8e994e32ec0a326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Sun, 21 Jul 2024 14:49:42 +0200 Subject: [PATCH] ci: add bootstrap step --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 590d90a..3b48b57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,13 +30,16 @@ jobs: - target: x86_64-unknown-linux-gnu runner: ubuntu-latest archive: tar.gz + bootstrap: sudo apt-get update && sudo apt-get install -y libssl-dev - target: x86_64-apple-darwin runner: macos-latest archive: tar.gz + bootstrap: brew install openssl - target: aarch64-apple-darwin runner: macos-latest archive: tar.gz + bootstrap: brew install openssl - target: x86_64-pc-windows-msvc runner: windows-latest @@ -50,6 +53,10 @@ jobs: with: targets: "${{ matrix.target }}" + - name: bootstrap + if: ${{ matrix.bootstrap != "" }} + run: ${{ matrix.bootstrap }} + - name: build binary run: cargo build -p discord-presence-lsp --verbose --locked --release --target ${{ matrix.target }}