Skip to content

Commit

Permalink
Add x86 and armv7 for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
lukipuki committed Mar 29, 2024
1 parent 4d801ec commit 4d6bca7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/linux-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,23 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# target: [x86_64, aarch64, armv7]
target: [x86_64]
target: [x86_64, armv7]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
with:
target: armv7
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'false' # TODO: sccache is broken on 2_28
docker-options: -e PKG_CONFIG_SYSROOT_DIR=/usr/armv7-unknown-linux-gnueabihf/armv7-unknown-linux-gnueabihf/sysroot/
before-script-linux: yum install -y dbus-devel libudev-devel pkgconfig protobuf-devel protobuf-compiler && yum -y clean all
manylinux: 2_28
- name: Test the wheel
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ walkdir = "2.3.2"
[dependencies]
chrono = "0.4.31"
geoutils = "0.5.1"
libdbus-sys = { version = "0.2.5", features = ["vendored"] }
log = "0.4.20"
# TODO: go back to official meshtastic once merged
meshtastic = { git = "https://github.com/lukipuki/rust.git", version = "0.1.5", branch = "protoc-err" }
Expand Down

0 comments on commit 4d6bca7

Please sign in to comment.