Skip to content

Commit

Permalink
add M1 cpu test target, cargo update, split-debuginfo, reqwest dep ch…
Browse files Browse the repository at this point in the history
…ange
  • Loading branch information
lilith committed Aug 22, 2024
1 parent 3345a1d commit dc48f00
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 30 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
os: windows-2019
TARGET_CPU: haswell

- name: osx_14-aarch64
os: macos-14
TARGET_CPU: apple-m1
runs-on: ${{matrix.os}}
steps:
- run: rustup show
Expand All @@ -49,7 +52,6 @@ jobs:
- run: rustup update stable
if: ${{contains( matrix.os, 'macos' )}}


### Cargo Cache for Build Artifacts ###
- name: Cache cargo
uses: actions/cache@v3
Expand Down
64 changes: 36 additions & 28 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ resolver = "2"

[profile.release]
debug = true
split-debuginfo = "packed"

# RIAPI Tests take 600ms each at 0, 200ms each at 1, 36ms each at 2, 26ms each at 3
[profile.test]
Expand Down
5 changes: 4 additions & 1 deletion imageflow_http_helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ edition = "2021"
[dependencies]
imageflow_helpers = { path = "../imageflow_helpers", version = "*" }

reqwest = { version = "0.12.7", features = ["blocking", "native-tls-vendored"]}
reqwest = { version = "0.12.7", features = ["blocking"] }
tokio = { version = "1", features = ["full"] }

[target.'cfg(any(all(target_arch = "aarch64", target_os = "windows"), target_os = "linux"))'.dependencies]
reqwest = { version = "0.12.7", features = ["blocking", "native-tls-vendored"] }

0 comments on commit dc48f00

Please sign in to comment.