diff --git a/.github/workflows/publish-node.yml b/.github/workflows/publish-node.yml index 32f9003..ca946c8 100644 --- a/.github/workflows/publish-node.yml +++ b/.github/workflows/publish-node.yml @@ -31,13 +31,17 @@ jobs: with: targets: ${{ matrix.target }} - - name: Install cross-compilation tools + - name: Install cross-compilation tools (Linux ARM64) if: matrix.target == 'aarch64-unknown-linux-gnu' run: | sudo apt-get update sudo apt-get install -y gcc-aarch64-linux-gnu echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> "$GITHUB_ENV" + - name: Install cross-compilation target (macOS x86_64) + if: matrix.target == 'x86_64-apple-darwin' + run: rustup target add x86_64-apple-darwin + - name: Build run: cargo build --release --features cli --target ${{ matrix.target }} working-directory: schema_analysis