-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: manually extract llvm release to get more output
- Loading branch information
1 parent
6081592
commit 36654be
Showing
3 changed files
with
111 additions
and
89 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,39 +7,39 @@ env: | |
|
||
jobs: | ||
|
||
check: | ||
name: Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Install Rust (stable) | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
override: true | ||
|
||
- name: Install LLVM | ||
uses: ./.github/actions/install-llvm | ||
|
||
- name: Cargo check | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: check | ||
# check: | ||
# name: Check | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# with: | ||
# submodules: true | ||
# | ||
# - name: Install Rust (stable) | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# profile: minimal | ||
# override: true | ||
# | ||
# - name: Install LLVM | ||
# uses: ./.github/actions/install-llvm | ||
# | ||
# - name: Cargo check | ||
# uses: actions-rs/cargo@v1 | ||
# with: | ||
# command: check | ||
|
||
test: | ||
name: Test | ||
runs-on: ${{ matrix.config.os }} | ||
needs: check | ||
# needs: check | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- { os: "ubuntu-latest"} | ||
# - { os: "ubuntu-latest"} | ||
- { os: "windows-latest"} | ||
- { os: "macOS-latest"} | ||
# - { os: "macOS-latest"} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -78,60 +78,60 @@ jobs: | |
with: | ||
command: test | ||
args: -- --nocapture | ||
|
||
style: | ||
name: Check Style | ||
runs-on: ubuntu-latest | ||
needs: check | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
override: true | ||
components: clippy, rustfmt | ||
|
||
- name: Run cargo fmt | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: --all -- --check | ||
|
||
- name: Install LLVM | ||
uses: ./.github/actions/install-llvm | ||
|
||
- name: Run cargo clippy | ||
uses: actions-rs/clippy-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: --all-features | ||
|
||
tarpaulin: | ||
runs-on: ubuntu-latest | ||
needs: check | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Install toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
override: true | ||
components: rustfmt | ||
|
||
- name: Install LLVM | ||
uses: ./.github/actions/install-llvm | ||
|
||
- name: Run cargo-tarpaulin | ||
uses: actions-rs/[email protected] | ||
|
||
- uses: codecov/codecov-action@v1 | ||
with: | ||
file: ${{ steps.coverage.outputs.report }} | ||
name: ${{ matrix.os }} | ||
# | ||
# style: | ||
# name: Check Style | ||
# runs-on: ubuntu-latest | ||
# needs: check | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# with: | ||
# submodules: true | ||
# | ||
# - name: Install stable toolchain | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# profile: minimal | ||
# override: true | ||
# components: clippy, rustfmt | ||
# | ||
# - name: Run cargo fmt | ||
# uses: actions-rs/cargo@v1 | ||
# with: | ||
# command: fmt | ||
# args: --all -- --check | ||
# | ||
# - name: Install LLVM | ||
# uses: ./.github/actions/install-llvm | ||
# | ||
# - name: Run cargo clippy | ||
# uses: actions-rs/clippy-check@v1 | ||
# with: | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# args: --all-features | ||
# | ||
# tarpaulin: | ||
# runs-on: ubuntu-latest | ||
# needs: check | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# with: | ||
# submodules: true | ||
# | ||
# - name: Install toolchain | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# profile: minimal | ||
# override: true | ||
# components: rustfmt | ||
# | ||
# - name: Install LLVM | ||
# uses: ./.github/actions/install-llvm | ||
# | ||
# - name: Run cargo-tarpaulin | ||
# uses: actions-rs/[email protected] | ||
# | ||
# - uses: codecov/codecov-action@v1 | ||
# with: | ||
# file: ${{ steps.coverage.outputs.report }} | ||
# name: ${{ matrix.os }} |