allow returns from compile_string #176
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: rrplug-test-build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
# A list of files, directories, and wildcard patterns to cache and restore | |
path: target/ | |
# An explicit key for restoring and saving the cache | |
key: whar | |
- name: Build | |
run: | | |
cargo build --all-features | |
- name: Check clippy | |
run: | | |
cargo clippy | |
- name: Run tests | |
run: cargo test --verbose --target x86_64-pc-windows-msvc | |
- name: Test examples | |
run: | | |
cargo build --example async_engine --features="async_engine" | |
cargo build --example cvar_example | |
cargo build --example squirrel_example |