test_tool: Let Cargo tell us where imageflow_tool resides (#650) #15
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
name: Windows on ARM64 Test | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
# Allow manual triggers | |
workflow_dispatch: | |
jobs: | |
test_win_arm64: | |
runs-on: windows-11-arm-32gb | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Windows ARM64 | |
uses: ./.github/actions/setup-win-arm64 | |
- name: Checkout code again with git, so git commands work. | |
uses: actions/checkout@v3 | |
- name: Install NASM | |
uses: ./.github/actions/install-nasm | |
- name: Check Build | |
run: cargo check --all | |
- name: Test Build | |
run: cargo test --all | |
env: | |
RUSTFLAGS: -C target-cpu=generic | |
- name: Build Release | |
run: cargo build --all | |
shell: bash | |
env: | |
RUSTFLAGS: -C target-cpu=generic | |
# You can add more experimental jobs here in the future | |
# test_another_experimental: | |
# runs-on: ... | |
# steps: | |
# ... |