This repository was archived by the owner on Jun 17, 2025. It is now read-only.
Again missed a conditional #3
This file contains hidden or 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
| on: | ||
| push: | ||
| paths-ignore: | ||
| - "**.md" | ||
| - "**.ftl" | ||
| branches: | ||
| - master | ||
| env: | ||
| CARGO_TERM_COLOR: always | ||
| CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc | ||
| CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc | ||
| jobs: | ||
| build: | ||
| name: Rust project - latest | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| target: | ||
| - x86_64-unknown-linux-gnu | ||
| - aarch64-unknown-linux-gnu | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
| with: | ||
| target: ${{ matrix.target }} | ||
| - if: matrix.target == 'x86_64-unknown-linux-gnu' | ||
| run: | | ||
| sudo apt update | ||
| sudo apt install -y --no-install-recommends mold clang pkgconf | ||
| - if: matrix.target == aarch64-unknown-linux-gnu | ||
|
Check failure on line 36 in .github/workflows/binary.yml
|
||
| run: | | ||
| sudo apt update | ||
| sudo apt install -y gcc-aarch64-linux-gnu mold clang pkgconf | ||
| - name: Build | ||
| run: cargo build --release --target ${{ matrix.target }} | ||
| - name: Upload artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: scripty_v2-${{ matrix.target }} | ||
| path: target/${{ matrix.target }}/release/scripty_v2 | ||