no target, no env var #11
Workflow file for this run
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: Test Self-Hosted Build | |
| on: | |
| push: | |
| branches: | |
| - feat/ci-releases | |
| jobs: | |
| test-build: | |
| name: Test Build on Self-Hosted | |
| runs-on: self-hosted | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Test build with RUSTFLAGS | |
| run: | | |
| echo "Current directory: $(pwd)" | |
| echo "Contents of .cargo:" | |
| ls -la .cargo/ || echo ".cargo directory not found" | |
| echo "Testing without RUSTFLAGS env var:" | |
| cargo config get target.x86_64-unknown-linux-gnu.rustflags | |
| cargo build --release --bin move-mutation-test | |
| echo "Build completed successfully" | |
| - name: Check binary exists | |
| run: | | |
| ls -la target/release/move-mutation-test | |
| ./target/release/move-mutation-test --version |