8000 Try installing in the script i guess by wrobstory · Pull Request #283 · bazeltools/rules_minidock_tools · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/add_binaries_to_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
with:
toolchain: stable
- run: rustup component add rustfmt
- run: sudo apt install hub
- name: Build and upload artifact
run: ./.github/workflows/build_binaries.sh ${{ matrix.os }} ${{ matrix.platform }} merge-app puller-app pusher-app
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ if [ -z "$TARGET_PLATFORM" ]; then
fi

if [[ "$TARGET_OS" =~ macos.* ]]; then
brew install hub
export TARGET_OS=macos
export SDKROOT=$(xcrun -sdk macosx --show-sdk-path)
export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version)
Expand All @@ -41,6 +42,7 @@ fi
if [[ "$TARGET_OS" =~ ubuntu.* ]]; then
TARGET_OS=linux
sudo apt install -y musl-tools
sudo apt install -y hub
rustup target add x86_64-unknown-linux-musl
CROSS_BUILD_TARGET="--target=x86_64-unknown-linux-musl"
APP_DIR="target/x86_64-unknown-linux-musl/release/"
Expand Down
0