cmake: avoid duplicate CUDA .o in pos2_gpu + xchplot2_cli (nvlink fix) #38
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| shell: | |
| name: ShellCheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install shellcheck | |
| run: sudo apt-get update && sudo apt-get install -y shellcheck | |
| - name: Lint scripts/ | |
| run: shellcheck scripts/*.sh | |
| actions: | |
| name: actionlint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: reviewdog/action-actionlint@v1 | |
| with: | |
| fail_level: error | |
| rust: | |
| name: Rust (keygen-rs) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: keygen-rs | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: keygen-rs | |
| - name: cargo check | |
| run: cargo check --all-targets --locked || cargo check --all-targets | |
| - name: cargo clippy (advisory) | |
| run: cargo clippy --all-targets -- -W clippy::all | |
| continue-on-error: true | |
| - name: cargo test | |
| run: cargo test --all-targets |