Updated installation links (#2512) #2
This file contains 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
on: | |
push: | |
branches: [master, staging, trying] | |
pull_request: | |
merge_group: | |
name: Run smoke test | |
env: | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install target for cross-compilation | |
run: rustup target add aarch64-unknown-linux-gnu | |
- name: Install cross | |
uses: taiki-e/install-action@v2.33.22 | |
with: | |
tool: cross | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v2.7.3 | |
- name: Build smoke-tester | |
run: | |
cross build --release --target aarch64-unknown-linux-gnu -p smoke_tester | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: smoke_tester | |
path: target/aarch64-unknown-linux-gnu/release/smoke_tester | |
test: | |
runs-on: ["self-hosted", "linux", "ARM64", "${{ matrix.runner }}"] | |
strategy: | |
matrix: | |
runner: ["smoke-test", "smoke-tester-2"] | |
needs: build | |
steps: | |
- uses: actions/download-artifact@v4 | |
with: | |
name: smoke_tester | |
- name: Run smoke-tester | |
run: | | |
chmod +x smoke_tester | |
./smoke_tester test --dut-definitions $SMOKE_TESTER_CONFIG --markdown-summary $GITHUB_STEP_SUMMARY |