add target on test workflow #7
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: | | |
| RUSTFLAGS="--cfg tokio_unstable" cargo build --release --target x86_64-unknown-linux-gnu --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 |