mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-12-22 12:11:05 +01:00
ci: add bootstrap step
This commit is contained in:
parent
810681d97b
commit
0a2809b9d2
1 changed files with 7 additions and 0 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue