-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from nspcc-dev/ezayats/arm64
Add support for macOS runners
- Loading branch information
Showing
2 changed files
with
41 additions
and
6 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,14 +56,24 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- name: Download latest stable neofs-cli for uploading reports to NeoFS | ||
- name: Download latest stable neofs-cli for uploading reports to NeoFS for Linux | ||
uses: dsaltares/[email protected] | ||
if: runner.os == 'Linux' | ||
with: | ||
repo: 'nspcc-dev/neofs-node' | ||
version: 'tags/v0.38.1' | ||
file: 'neofs-cli-amd64' | ||
version: 'tags/v0.41.1' | ||
file: 'neofs-cli-linux-amd64' | ||
target: 'neofs/neofs-cli' | ||
|
||
- name: Download latest stable neofs-cli for uploading reports to NeoFS for macOS | ||
uses: dsaltares/[email protected] | ||
if: runner.os == 'macOS' | ||
with: | ||
repo: 'nspcc-dev/neofs-node' | ||
version: 'tags/v0.41.1' | ||
file: 'neofs-cli-darwin-arm64' | ||
target: 'neofs/neofs-cli' | ||
|
||
- name: Chmod latest stable neofs-cli | ||
shell: bash | ||
run: | | ||
|
@@ -84,6 +94,12 @@ runs: | |
run: | | ||
echo "$NEOFS_WALLET" | base64 -d > "$GITHUB_ACTION_PATH/wallet.json" | ||
- name: Install required package if running on macos | ||
shell: bash | ||
if: runner.os == 'macOS' | ||
run: | | ||
brew install libmagic | ||
- name: Prepare venv | ||
shell: bash | ||
id: prepare_venv | ||
|