Skip to content

Commit

Permalink
Fix windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robinhundt committed May 7, 2024
1 parent b3a35dd commit 2ad4272
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,21 @@ jobs:
id: toolchain
with:
toolchain: nightly-2024-05-03
# for some reason aws-lc-sys's build script needs rustfmt...
components: "rustfmt"
- name: Override default toolchain
run: rustup override set ${{steps.toolchain.outputs.name}}
- run: cargo --version
- name: Install NASM
if: ${{ matrix.os == 'windows-latest' }}
uses: ilammy/setup-nasm@v1
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Run tests
if: ${{ matrix.os == 'ubuntu-latest' }}
run: cargo test --workspace --verbose --all-features --no-fail-fast
- name: Run tests
if: ${{ matrix.os != 'ubuntu-latest' }}
run: cargo test --workspace --verbose ${{ matrix.exclude }} --features ${{ matrix.features }}
run: cargo test --workspace --verbose ${{ matrix.exclude }} --no-default-features --features ${{ matrix.features }}
lint:
name: Lint
runs-on: "ubuntu-latest"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
id: toolchain
with:
toolchain: nightly-2024-05-03
# for some reason aws-lc-sys's build script needs rustfmt...
components: "rustfmt"
- name: Override default toolchain
run: rustup override set ${{steps.toolchain.outputs.name}}
- run: cargo --version
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

19 changes: 10 additions & 9 deletions crates/seec-channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version = "0.1.0"
edition = "2021"
license = "MIT"
authors = ["Robin Hundt"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand All @@ -13,28 +12,30 @@ async-stream = "0.3.5"
bytes = "1.6.0"
futures = "0.3.30"
pin-project = "1.1.5"
serde = { version = "1.0.197"}
serde = { version = "1.0.197" }
erased-serde = "0.4.4"
thiserror = "1.0.58"
tokio = { version = "1.36.0", features = ["macros", "net"]}
tokio-serde = { version = "0.9.0", features = ["bincode"]}
tokio-util = { version = "0.7.10", features = ["codec"]}
tokio = { version = "1.36.0", features = ["macros", "net"] }
tokio-serde = { version = "0.9.0", features = ["bincode"] }
tokio-util = { version = "0.7.10", features = ["codec"] }
tracing = { version = "0.1.40" }
remoc = { workspace = true }
seec-channel-macros = {path = "../seec-channel-macros"}
seec-channel-macros = { path = "../seec-channel-macros" }
once_cell = "1.19.0"
indexmap = { version = "2.2.6", features = ["serde"]}
indexmap = { version = "2.2.6", features = ["serde"] }
serde_json = "1.0.114"
# remove aws_lc_rs as default crypto provider so that we can enable the provider via a feature (see above)
# and use ring on Windows
tokio-rustls = "0.26.0"
rustls = "0.23.4"
rustls-pemfile = "2.1.1"
rustls-native-certs = "0.7.0"

[dev-dependencies]
criterion = { version = "0.5.1", features = ["async_tokio"] }
serde = { version = "1.0.197", features = ["derive"]}
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
tokio = { version = "1.36.0", features = ["rt-multi-thread", "time"]}
tokio = { version = "1.36.0", features = ["rt-multi-thread", "time"] }


[[bench]]
Expand Down

0 comments on commit 2ad4272

Please sign in to comment.