Skip to content

Add 1001 Card Cruncher packer strategy #1133

Add 1001 Card Cruncher packer strategy

Add 1001 Card Cruncher packer strategy #1133

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
# Install 64tass only on Linux (where it's easy and might be expected by legacy setups)
- name: Install 64tass (Linux)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y 64tass
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Check Formatting
if: matrix.os == 'ubuntu-latest'
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy -- -D warnings
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Audit Dependencies
if: matrix.os == 'ubuntu-latest'
run: |
cargo install cargo-audit
for i in 1 2 3; do
cargo audit && break
echo "Attempt $i failed, retrying in 10s..."
sleep 10
done