Skip to content

Commit

Permalink
ci: add bootstrap step
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Jul 21, 2024
1 parent 810681d commit 0a2809b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

Expand Down

0 comments on commit 0a2809b

Please sign in to comment.