Add clear downloads utility script #6
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: Experimental CI | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
# Allow manual triggers | |
workflow_dispatch: | |
jobs: | |
test_win_arm64: | |
runs-on: windows-11-arm-32gb | |
continue-on-error: true # Allow this job to fail without failing the workflow | |
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: Set Git Environment Variables | |
id: set_git_env_vars | |
run: | | |
echo "GIT_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV | |
echo "GIT_COMMIT_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV | |
echo "GIT_OPTIONAL_TAG=$(git describe --tags --exact-match 2>/dev/null || echo '')" >> $GITHUB_ENV | |
echo "GIT_DESCRIBE_ALWAYS=$(git describe --always --tags)" >> $GITHUB_ENV | |
echo "GIT_DESCRIBE_ALWAYS_LONG=$(git describe --always --tags --long)" >> $GITHUB_ENV | |
echo "GIT_DESCRIBE_AAL=$(git describe --always --all --long)" >> $GITHUB_ENV | |
echo "GIT_OPTIONAL_BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null || echo '')" >> $GITHUB_ENV | |
- 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: | |
# ... |