Skip to content

Commit

Permalink
Fix CI: windows-11 and codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jun 7, 2022
1 parent 23b2275 commit efe7d8f
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 76 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
# Networking
- tor
- zmq
- tor,zmq
steps:
- uses: actions/checkout@v2
- name: Install dependencies
Expand Down Expand Up @@ -74,33 +75,6 @@ jobs:
with:
command: check
args: --all-features
tor:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
feature:
- tor
- tor,url
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libzmq3-dev
- name: Install rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Feature ${{ matrix.feature }}
uses: actions-rs/cargo@v1
with:
command: check
args: --no-default-features --features=${{ matrix.feature }}
- name: Defaults + ${{ matrix.feature }}
uses: actions-rs/cargo@v1
with:
command: check
args: --features=${{ matrix.feature }}
toolchains:
runs-on: ubuntu-latest
strategy:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libzmq3-dev libssl-dev
run: sudo apt-get update && sudo apt-get install -y libzmq3-dev
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
Expand All @@ -28,8 +28,8 @@ jobs:
args: --workspace --all-features --no-fail-fast
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code'
- id: coverage
name: Generate coverage
uses: actions-rs/[email protected]
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/pre-publish.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/publication.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libzmq3-dev libssl-dev
run: sudo apt-get update && sudo apt-get install -y libzmq3-dev
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ strict_encoding_test = "1.8.0"
strict_encoding_derive = "1.7.6"
compiletest_rs = "0.7.0"

[target.'cfg(target_os="windows")'.build-dependencies]
cmake = "0.1"

[target.'cfg(target_os="android")'.dependencies]
zmq = { version = "0.9", features = ["vendored"], optional = true }

Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "stable"

0 comments on commit efe7d8f

Please sign in to comment.