fix: NEON clippy failures on aarch64 (Rust 2024 edition) #42
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
| name: Build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| java: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| defaults: | |
| run: | |
| working-directory: java | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25-ea' | |
| distribution: 'temurin' | |
| - name: Download Z3 native libraries | |
| run: | | |
| Z3_VERSION=4.14.0 | |
| BASE_URL="https://repo.maven.apache.org/maven2/org/sosy-lab/javasmt-solver-z3/${Z3_VERSION}" | |
| mkdir -p native | |
| curl -sL "${BASE_URL}/javasmt-solver-z3-${Z3_VERSION}-libz3-x64.so" -o native/libz3.so | |
| curl -sL "${BASE_URL}/javasmt-solver-z3-${Z3_VERSION}-libz3java-x64.so" -o native/libz3java.so | |
| - run: LD_LIBRARY_PATH=$PWD/native ./mvnw verify | |
| rust: | |
| strategy: | |
| matrix: | |
| include: | |
| - target: x86_64 | |
| runner: ubuntu-latest | |
| - target: aarch64 | |
| runner: ubuntu-24.04-arm | |
| runs-on: ${{ matrix.runner }} | |
| name: rust (${{ matrix.target }}) | |
| timeout-minutes: 20 | |
| defaults: | |
| run: | |
| working-directory: rust | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: rust | |
| key: ${{ matrix.target }} | |
| - run: cargo test -p findchars -p findchars-csv | |
| - run: cargo clippy --workspace -- -D warnings | |
| - name: Compile benchmarks | |
| if: matrix.target == 'x86_64' | |
| run: cargo bench --workspace --no-run |