aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 13 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8b99832..fc03588 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,6 +11,7 @@ on:
env:
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1
+ nightly: nightly-2020-12-17
defaults:
run:
@@ -74,14 +75,11 @@ jobs:
# Nightly
nightly:
name: nightly
- env:
- # Pin nightly to avoid being impacted by breakage
- RUST_VERSION: nightly-2019-09-25
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
- run: rustup update $RUST_VERSION && rustup default $RUST_VERSION
+ run: rustup update $nightly && rustup default $nightly
- name: Test
run: . ci/test-stable.sh test
@@ -120,23 +118,27 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Rust
- run: rustup update nightly && rustup default nightly
+ run: rustup update $nightly && rustup default $nightly
- name: Install rust-src
run: rustup component add rust-src
- name: ASAN / TSAN
run: . ci/tsan.sh
+ miri:
+ name: miri
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Miri
+ run: ci/miri.sh
# Loom
loom:
name: loom
- env:
- # Pin nightly to avoid being impacted by breakage
- RUST_VERSION: nightly-2020-05-19
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
- run: rustup update $RUST_VERSION && rustup default $RUST_VERSION
+ run: rustup update $nightly && rustup default $nightly
- name: Loom tests
run: RUSTFLAGS="--cfg loom -Dwarnings" cargo test --lib
@@ -149,6 +151,8 @@ jobs:
- nightly
- minrust
- cross
+ - tsan
+ - loom
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2