Skip to content

Commit

Permalink
Ci fixes (#378)
Browse files Browse the repository at this point in the history
fix: make ci work, minor cleanup
  • Loading branch information
amokfa authored Feb 13, 2025
1 parent c46e383 commit a0ce985
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 42 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build: [linux, macos, linux-arm-gnu, windows]
build: [linux, macos, linux-arm-gnu]
include:
- build: linux
os: ubuntu-latest
Expand All @@ -53,19 +53,11 @@ jobs:
- build: linux-arm-gnu
os: ubuntu-latest
rust: stable
target: armv7-unknown-linux-gnueabihf
target: armv7-unknown-linux-musleabi
- build: linux-aarch-musl
os: ubuntu-latest
rust: stable
target: aarch64-unknown-linux-musl
- build: linux-aarch-gnu
os: ubuntu-latest
rust: stable
target: aarch64-unknown-linux-gnu
- build: windows
os: ubuntu-latest
rust: stable
target: x86_64-pc-windows-gnu
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -99,7 +91,7 @@ jobs:
"$PWD/target:/target:Z" \
rustembedded/cross:armv7-unknown-linux-gnueabihf \
arm-linux-gnueabihf-strip \
/target/armv7-unknown-linux-gnueabihf/release/uplink
/target/armv7-unknown-linux-musleabi/release/uplink
- name: Strip release binary (aarch-musl)
if: matrix.build == 'linux-aarch-musl'
Expand Down
11 changes: 0 additions & 11 deletions .justfile

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ Please follow the [code of conduct][coc] while opening issues to report bugs or
[docs.rs]: https://docs.rs/uplink
[coc]: docs/CoC.md
[contribute]: CONTRIBUTING.md
[dummy]: configs/dummy.json
[noauth]: configs/noauth.json
[dummy]: docs/configs/dummy.json
[noauth]: docs/configs/noauth.json
[bytebeam]: https://bytebeam.io
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ thiserror = { workspace = true }

[dev-dependencies]
tempdir = { workspace = true }
rand = { workspace = true }
rumqttc = { workspace = true }
pretty_env_logger = "0.4"
16 changes: 0 additions & 16 deletions uplink/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,6 @@ impl<K: Eq + Clone + Debug, V> LimitedArrayMap<K, V> {
}
}

#[test]
fn t1() {
let mut m = LimitedArrayMap::new(64);
dbg!(m.set("a".to_owned(), "A".to_owned()));
dbg!(m.set("b".to_owned(), "B".to_owned()));
dbg!(m);
}

#[test]
fn t2() {
let mut m = LimitedArrayMap::new(64);
dbg!(m.set("a".to_owned(), "A".to_owned()));
dbg!(m.set("b".to_owned(), "B".to_owned()));
dbg!(m.get(&"a".to_owned()));
}

/// An iterator that allows user to access the current element
/// under the cursor of a BTreeMap
pub struct BTreeCursorMut<'a, K, V> {
Expand Down

0 comments on commit a0ce985

Please sign in to comment.