-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
1 addition
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,15 +56,12 @@ jobs: | |
target: ${{ matrix.job.target }} | ||
- uses: taiki-e/install-action@cross | ||
if: ${{ matrix.job.use-cross }} | ||
- name: Installing needed macOS dependencies | ||
if: matrix.job.os == 'macos-latest' | ||
run: brew install [email protected] | ||
|
||
- name: Installing needed Ubuntu dependencies | ||
if: matrix.job.os == 'ubuntu-latest' | ||
shell: bash | ||
run: | | ||
sudo apt-get -y update | ||
sudo apt-get -y install -qq pkg-config libssl-dev | ||
case ${{ matrix.job.target }} in | ||
arm*-linux-*) sudo apt-get -y install gcc-arm-linux-gnueabihf ;; | ||
aarch64-*-linux-*) sudo apt-get -y install gcc-aarch64-linux-gnu ;; | ||
|
@@ -131,8 +128,5 @@ jobs: | |
path: ~/.cargo/bin | ||
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('.github/workflows/cd.yml') }} | ||
- uses: dtolnay/rust-toolchain@stable | ||
- run: | | ||
sudo apt-get update | ||
sudo apt-get install -y -qq pkg-config libssl-dev | ||
- run: cargo publish --token ${{ secrets.CARGO_API_KEY }} --allow-dirty --dry-run | ||
|