Skip to content

Commit

Permalink
Add armv7-unknown-linux-gnueabihf to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbabcock committed Aug 6, 2024
1 parent f0c5b20 commit aa07908
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,20 @@ jobs:
build:
- stable
- collectd-head
- aarch64
- armv7-unknown-linux-gnueabihf
- aarch64-unknown-linux-gnu
- regen
include:
- build: stable
os: 'ubuntu-latest'
- build: collectd-head
os: 'ubuntu-latest'
- build: aarch64
- build: aarch64-unknown-linux-gnu
os: 'ubuntu-latest'
target: aarch64-unknown-linux-gnu
- build: armv7-unknown-linux-gnueabihf
os: 'ubuntu-latest'
target: armv7-unknown-linux-gnueabihf
- build: regen
os: 'ubuntu-latest'
steps:
Expand All @@ -41,7 +45,7 @@ jobs:
components: rust-src

- name: Use Cross
if: matrix.build == 'aarch64'
if: matrix.target != ''
run: |
cargo install cross
echo "CARGO=cross" >> $GITHUB_ENV
Expand All @@ -57,8 +61,12 @@ jobs:
git clone https://github.com/collectd/collectd /tmp/collectd
echo "COLLECTD_PATH=/tmp/collectd" >> $GITHUB_ENV
echo "FEATURES=--features bindgen" >> $GITHUB_ENV
- name: build
run: ${{ env.CARGO }} build --examples $FEATURES --verbose $TARGET

- name: tests
if: matrix.build != 'armv7-unknown-linux-gnueabihf' # layout tests fail
run: ${{ env.CARGO }} test $FEATURES --verbose $TARGET

- name: test benchmarks
Expand Down

0 comments on commit aa07908

Please sign in to comment.