Implement Entity HIR structure #548
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [main, staging, trying] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
toolchain: [stable] | |
env: | |
# Disable debug info & incremental | |
CARGO_PROFILE_DEV_DEBUG: false | |
CARGO_PROFILE_TEST_DEBUG: false | |
CARGO_INCREMENTAL: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install minimal ${{ matrix.toolchain }} toolchain with rustfmt | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.toolchain }} | |
components: rustfmt | |
- name: Setup cache | |
uses: Swatinem/rust-cache@v2 | |
# Doing the actual work | |
- name: Build | |
run: cargo test --no-run --verbose | |
- name: Run tests | |
run: cargo test --verbose |