Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
amokfa committed Dec 18, 2024
1 parent 98564d5 commit 73db389
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
target: x86_64-unknown-linux-musl

- name: Build binary
run: cargo build -p ${{ matrix.build }} --verbose --release --target x86_64-unknown-linux-musl
run: cargo build -p ${{ matrix.build }} --release --target x86_64-unknown-linux-musl

- name: Upload release archive
uses: softprops/action-gh-release@v1
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV
- name: Build release binary
run: cross build --verbose --release ${{ env.TARGET_FLAGS }}
run: cross build --release ${{ env.TARGET_FLAGS }}

- name: Strip release binary (linux and macos)
if: matrix.build == 'linux' || matrix.build == 'macos' || matrix.build == 'macos-m1'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Clippy
run: cargo clippy --verbose
run: cargo clippy
env:
RUSTFLAGS: "-D warnings"
- name: Run tests
run: cargo test --verbose --all-features
run: cargo test --all-features

clippy-android:
name: Clippy on android aarch64
Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ targets = [
"i686-linux-android",
"aarch64-linux-android",
"armv7-linux-androideabi",
"aarch64-unknown-linux-gnu",
"armv7-unknown-linux-gnueabihf"
]
profile = "minimal"
components = ["clippy"]

0 comments on commit 73db389

Please sign in to comment.