Skip to content

Commit

Permalink
chore(ci): Temporarily disable armv7 cross compilation (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
binarybaron authored Aug 27, 2024
1 parent 2131500 commit 88cfd6b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
target: x86_64-unknown-linux-gnu
os: ubuntu-latest
archive_ext: tar
- bin: swap
target: armv7-unknown-linux-gnueabihf
os: ubuntu-latest
archive_ext: tar
# This has been temporarily disabled. Cross compilation is currently broken due to the missing system dependencies (libwebkit)
#- bin: swap
# target: armv7-unknown-linux-gnueabihf
# os: ubuntu-latest
# archive_ext: tar
- bin: swap
target: x86_64-apple-darwin
os: macos-12
Expand All @@ -38,10 +39,11 @@ jobs:
target: x86_64-unknown-linux-gnu
os: ubuntu-latest
archive_ext: tar
- bin: asb
target: armv7-unknown-linux-gnueabihf
os: ubuntu-latest
archive_ext: tar
# This has been temporarily disabled. Cross compilation is currently broken due to the missing system dependencies (libwebkit)
#- bin: asb
# target: armv7-unknown-linux-gnueabihf
# os: ubuntu-latest
# archive_ext: tar
- bin: asb
target: x86_64-apple-darwin
os: macos-12
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Check formatting
uses: dprint/[email protected]
with:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Build swap
run: cargo build --bin swap

Expand All @@ -91,7 +91,7 @@ jobs:
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Install sqlx-cli
run: cargo install --locked --version 0.6.3 sqlx-cli

Expand All @@ -106,8 +106,8 @@ jobs:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: armv7-unknown-linux-gnueabihf
os: ubuntu-latest
#- target: armv7-unknown-linux-gnueabihf
# os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-12
- target: aarch64-apple-darwin
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Build binary
if: matrix.target != 'armv7-unknown-linux-gnueabihf'
run: cargo build -p swap --target ${{ matrix.target }}
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Checkout sources
uses: actions/[email protected]

Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Run test ${{ matrix.test_name }}
run: cargo test --package swap --all-features --test ${{ matrix.test_name }} -- --nocapture

Expand All @@ -278,7 +278,7 @@ jobs:
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Run RPC server tests
run: cargo test --package swap --all-features --test rpc -- --nocapture

Expand All @@ -304,6 +304,6 @@ jobs:
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Run cargo check on stable rust
run: cargo check --all-targets

0 comments on commit 88cfd6b

Please sign in to comment.