mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-22 06:01:06 +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
|
- target: x86_64-unknown-linux-gnu
|
||||||
runner: ubuntu-latest
|
runner: ubuntu-latest
|
||||||
archive: tar.gz
|
archive: tar.gz
|
||||||
|
bootstrap: sudo apt-get update && sudo apt-get install -y libssl-dev
|
||||||
|
|
||||||
- target: x86_64-apple-darwin
|
- target: x86_64-apple-darwin
|
||||||
runner: macos-latest
|
runner: macos-latest
|
||||||
archive: tar.gz
|
archive: tar.gz
|
||||||
|
bootstrap: brew install openssl
|
||||||
- target: aarch64-apple-darwin
|
- target: aarch64-apple-darwin
|
||||||
runner: macos-latest
|
runner: macos-latest
|
||||||
archive: tar.gz
|
archive: tar.gz
|
||||||
|
bootstrap: brew install openssl
|
||||||
|
|
||||||
- target: x86_64-pc-windows-msvc
|
- target: x86_64-pc-windows-msvc
|
||||||
runner: windows-latest
|
runner: windows-latest
|
||||||
|
@ -50,6 +53,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
targets: "${{ matrix.target }}"
|
targets: "${{ matrix.target }}"
|
||||||
|
|
||||||
|
- name: bootstrap
|
||||||
|
if: ${{ matrix.bootstrap != "" }}
|
||||||
|
run: ${{ matrix.bootstrap }}
|
||||||
|
|
||||||
- name: build binary
|
- name: build binary
|
||||||
run: cargo build -p discord-presence-lsp --verbose --locked --release --target ${{ matrix.target }}
|
run: cargo build -p discord-presence-lsp --verbose --locked --release --target ${{ matrix.target }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue