Added support for thread locals #281
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: Rust | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
linux_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build on Linux | |
run: cargo build --verbose | |
windows_build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build on Windows | |
run: cargo build --verbose | |
linux_test: | |
runs-on: ubuntu-latest | |
env: | |
NEW_UNSIZE: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Check ILASM | |
run: ilasm --version | |
- name: Run cargo tests | |
run: cargo test --verbose ::stable | |
linux_test_c: | |
runs-on: ubuntu-latest | |
env: | |
C_MODE: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build | |
- name: Run cargo tests | |
run: | | |
cargo test compile_test::dst::stable | |
cargo test compile_test::cmp_bytes | |
cargo test compile_test::fail0 | |
cargo test compile_test::add:: | |
cargo test compile_test::fail5 | |
cargo test compile_test::fail4::stable::release | |
cargo test compile_test::fail6::stable::release | |
cargo test compile_test::fail3::stable::release | |
cargo test compile_test::fail7::stable::release | |
cargo test compile_test::fail9 | |
cargo test compile_test::fuzz73::stable::release | |
cargo test compile_test::greater_than | |
cargo test compile_test::i16_to_u64 | |
cargo test compile_test::i32_to_u64 | |
cargo test compile_test::i32_to_usize | |
cargo test compile_test::i8_to_u64 | |
cargo test compile_test::int128::stable::debug | |
cargo test compile_test::main | |
cargo test compile_test::malloc | |
cargo test compile_test::max | |
cargo test compile_test::maybeuninit | |
cargo test compile_test::offset_of | |
cargo test compile_test::printf | |
cargo test compile_test::raw_vec | |
cargo test compile_test::ref_deref | |
cargo test compile_test::slice_to_owned | |
cargo test compile_test::slice_ptr_cast::stable::debug | |
cargo test compile_test::string_slice | |
cargo test compile_test::sub | |
cargo test compile_test::subslice | |
cargo test compile_test::structs | |
cargo test enum | |
cargo test compile_test::xor | |
cargo test statics |