Skip to content

Commit

Permalink
Merge pull request #41 from NebraLtd/shawaj/armv6
Browse files Browse the repository at this point in the history
fix: build for lowest common denominator
  • Loading branch information
shawaj authored Oct 24, 2021
2 parents d7b978f + 0d1dce9 commit 4f37655
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-pypi-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-unknown-linux-musl
target: arm-unknown-linux-gnueabihf
override: true

- name: Clone repo
run: |
git clone --branch v0.1.3 https://github.com/helium/gateway-mfr-rs.git .
git clone --branch v0.1.5 https://github.com/helium/gateway-mfr-rs.git .
- name: Run cargo check
uses: actions-rs/cargo@v1
Expand All @@ -32,11 +32,11 @@ jobs:
with:
use-cross: true
command: build
args: --target aarch64-unknown-linux-musl --release
args: --target arm-unknown-linux-gnueabihf --release

- name: Copy release file
run: |
cp ./target/aarch64-unknown-linux-musl/release/gateway_mfr gateway_mfr
cp ./target/arm-unknown-linux-gnueabihf/release/gateway_mfr gateway_mfr
- uses: actions/upload-artifact@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-unknown-linux-musl
target: arm-unknown-linux-gnueabihf
override: true

- name: Clone repo
run: |
git clone --branch v0.1.3 https://github.com/helium/gateway-mfr-rs.git .
git clone --branch v0.1.5 https://github.com/helium/gateway-mfr-rs.git .
- name: Run cargo check
uses: actions-rs/cargo@v1
Expand All @@ -32,11 +32,11 @@ jobs:
with:
use-cross: true
command: build
args: --target aarch64-unknown-linux-musl --release
args: --target arm-unknown-linux-gnueabihf --release

- name: Copy release file
run: |
cp ./target/aarch64-unknown-linux-musl/release/gateway_mfr gateway_mfr
cp ./target/arm-unknown-linux-gnueabihf/release/gateway_mfr gateway_mfr
- uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='hm_pyhelper',
version='0.8.9',
version='0.8.10',
author="Nebra Ltd",
author_email="support@nebra.com",
description="Helium Python Helper",
Expand Down

0 comments on commit 4f37655

Please sign in to comment.