Skip to content

Commit

Permalink
Merge branch 'main' into testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
damip committed Nov 18, 2022
2 parents 842d3ee + 0adc60d commit 567e530
Show file tree
Hide file tree
Showing 9 changed files with 503 additions and 325 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ jobs:
platform: x86_64
target: x86_64-apple-darwin
name: release_macos.tar.gz
- os: macOS-latest
platform: arm64
target: aarch64-apple-darwin
name: release_macos_aarch64.tar.gz
exclude:
- os: windows-latest
platform: arm64
- os: macOS-latest
platform: arm64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,37 +152,6 @@ jobs:
steps:
- run: exit 0

# Code documentation and coverage will be run only on main branch
coverage:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: clean
- uses: actions-rs/cargo@v1
with:
command: test
args: --features testing --no-fail-fast
env:
CARGO_INCREMENTAL: "0"
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
RUSTDOCFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
- id: coverage
uses: actions-rs/[email protected]
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ steps.coverage.outputs.report }}

doc:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
Expand Down
Loading

0 comments on commit 567e530

Please sign in to comment.