Skip to content

Commit

Permalink
fix: manually add musl-cross/bin to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Oct 24, 2024
1 parent 378ce0c commit edfafe3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ jobs:
- id: build
run: |
toolchain_file=$(readlink -f TC-${{ matrix.build.target }}.cmake)
if [[ "${{ matrix.build.target }}" == "aarch64-unknown-linux-musl" ]]; then
export PATH=$PATH:$(readlink -f aarch64-linux-musl-cross)/bin
fi
mkdir -p build && cd build
cmake .. -DZENOHC_CUSTOM_TARGET=${{ matrix.build.target }} -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DZENOHC_BUILD_WITH_UNSTABLE_API=ON -DZENOHC_BUILD_WITH_SHARED_MEMORY=ON
cmake --build . --config Release
Expand Down

0 comments on commit edfafe3

Please sign in to comment.