Skip to content

Commit

Permalink
switch to musl, remove openssl, add platform matrix in CI for tests (#7)
Browse files Browse the repository at this point in the history
* cargo: switch to musl, remove openssl

* ci: run tests on all platforms
  • Loading branch information
TheButlah authored Oct 5, 2024
1 parent a1eaff0 commit 31024c1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 185 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
run: RUSTDOCFLAGS="-D warnings" cargo doc --all --all-features --no-deps --document-private-items

test:
name: Run Tests
runs-on: ubuntu-22.04
name: Run Tests on all platforms
strategy:
matrix:
runs-on: ["ubuntu-24.04", "windows-2022", "macos-14"]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- name: Cache cargo dependencies
Expand Down
180 changes: 0 additions & 180 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ http = "1.1.0"
http-body-util = "0.1.2"
jose-jwk = { version = "0.1.2", default-features = false }
rand = "0.8.5"
reqwest = { version = "0.12.7", features = ["rustls-tls"] }
reqwest = { version = "0.12.7", default-features = false }
rustls-acme = { version = "0.11.1", default-features = false }
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.114"
Expand Down
2 changes: 1 addition & 1 deletion identity-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ http-body-util.workspace = true
jose-jwk = { workspace = true, default-features = false }
jsonwebtoken = { version = "9.3.0", default-features = false }
rand.workspace = true
reqwest.workspace = true
reqwest = { workspace = true, features = ["rustls-tls"] }
rustls-acme = { workspace = true, default-features = false, features = ["ring", "axum"] }
serde.workspace = true
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
channel = "1.81.0" # See workspace Cargo.toml
components = ["rust-src"]
profile = "default"
targets = ["x86_64-pc-windows-msvc", "aarch64-linux-android", "x86_64-unknown-linux-gnu"]
targets = ["x86_64-pc-windows-msvc", "x86_64-unknown-linux-musl", "aarch64-unknown-linux-musl", "aarch64-apple-darwin"]

0 comments on commit 31024c1

Please sign in to comment.