Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 10 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true

Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- { os: "windows-2016", toolchain: "stable"}
- { os: "macOS-latest", toolchain: "stable"}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true

Expand All @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
needs: check
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true

Expand All @@ -98,43 +98,25 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features

grcov:
runs-on: ${{ matrix.os }}
tarpaulin:
runs-on: ubuntu-latest
needs: check
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-2016

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
override: true

- name: Install LLVM
uses: ./.github/actions/install-llvm

- name: Execute tests
uses: actions-rs/cargo@v1
continue-on-error: true
with:
command: test
args: --all
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads"

- name: Gather coverage data
id: coverage
uses: actions-rs/grcov@v0.1
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1

- uses: codecov/codecov-action@v1
with:
Expand Down Expand Up @@ -165,7 +147,7 @@ jobs:
artifacts: "mun libmun_runtime.dylib"
}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true

Expand Down