Skip to content

no target, no env var #11

no target, no env var

no target, no env var #11

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