chore(ci): Temporarily disable armv7 cross compilation (#35)

This commit is contained in:
binarybaron 2024-08-27 20:27:54 +02:00 committed by GitHub
parent 2131500c7d
commit 88cfd6bc3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 18 deletions

View file

@ -18,10 +18,11 @@ jobs:
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
os: ubuntu-latest os: ubuntu-latest
archive_ext: tar archive_ext: tar
- bin: swap # This has been temporarily disabled. Cross compilation is currently broken due to the missing system dependencies (libwebkit)
target: armv7-unknown-linux-gnueabihf #- bin: swap
os: ubuntu-latest # target: armv7-unknown-linux-gnueabihf
archive_ext: tar # os: ubuntu-latest
# archive_ext: tar
- bin: swap - bin: swap
target: x86_64-apple-darwin target: x86_64-apple-darwin
os: macos-12 os: macos-12
@ -38,10 +39,11 @@ jobs:
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
os: ubuntu-latest os: ubuntu-latest
archive_ext: tar archive_ext: tar
- bin: asb # This has been temporarily disabled. Cross compilation is currently broken due to the missing system dependencies (libwebkit)
target: armv7-unknown-linux-gnueabihf #- bin: asb
os: ubuntu-latest # target: armv7-unknown-linux-gnueabihf
archive_ext: tar # os: ubuntu-latest
# archive_ext: tar
- bin: asb - bin: asb
target: x86_64-apple-darwin target: x86_64-apple-darwin
os: macos-12 os: macos-12

View file

@ -32,7 +32,7 @@ jobs:
libssl-dev \ libssl-dev \
libayatana-appindicator3-dev \ libayatana-appindicator3-dev \
librsvg2-dev librsvg2-dev
- name: Check formatting - name: Check formatting
uses: dprint/check@v2.2 uses: dprint/check@v2.2
with: with:
@ -64,7 +64,7 @@ jobs:
libssl-dev \ libssl-dev \
libayatana-appindicator3-dev \ libayatana-appindicator3-dev \
librsvg2-dev librsvg2-dev
- name: Build swap - name: Build swap
run: cargo build --bin swap run: cargo build --bin swap
@ -91,7 +91,7 @@ jobs:
libssl-dev \ libssl-dev \
libayatana-appindicator3-dev \ libayatana-appindicator3-dev \
librsvg2-dev librsvg2-dev
- name: Install sqlx-cli - name: Install sqlx-cli
run: cargo install --locked --version 0.6.3 sqlx-cli run: cargo install --locked --version 0.6.3 sqlx-cli
@ -106,8 +106,8 @@ jobs:
include: include:
- target: x86_64-unknown-linux-gnu - target: x86_64-unknown-linux-gnu
os: ubuntu-latest os: ubuntu-latest
- target: armv7-unknown-linux-gnueabihf #- target: armv7-unknown-linux-gnueabihf
os: ubuntu-latest # os: ubuntu-latest
- target: x86_64-apple-darwin - target: x86_64-apple-darwin
os: macos-12 os: macos-12
- target: aarch64-apple-darwin - target: aarch64-apple-darwin
@ -139,7 +139,7 @@ jobs:
libssl-dev \ libssl-dev \
libayatana-appindicator3-dev \ libayatana-appindicator3-dev \
librsvg2-dev librsvg2-dev
- name: Build binary - name: Build binary
if: matrix.target != 'armv7-unknown-linux-gnueabihf' if: matrix.target != 'armv7-unknown-linux-gnueabihf'
run: cargo build -p swap --target ${{ matrix.target }} run: cargo build -p swap --target ${{ matrix.target }}
@ -196,7 +196,7 @@ jobs:
libssl-dev \ libssl-dev \
libayatana-appindicator3-dev \ libayatana-appindicator3-dev \
librsvg2-dev librsvg2-dev
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v4.1.7 uses: actions/checkout@v4.1.7
@ -254,7 +254,7 @@ jobs:
libssl-dev \ libssl-dev \
libayatana-appindicator3-dev \ libayatana-appindicator3-dev \
librsvg2-dev librsvg2-dev
- name: Run test ${{ matrix.test_name }} - name: Run test ${{ matrix.test_name }}
run: cargo test --package swap --all-features --test ${{ matrix.test_name }} -- --nocapture run: cargo test --package swap --all-features --test ${{ matrix.test_name }} -- --nocapture
@ -278,7 +278,7 @@ jobs:
libssl-dev \ libssl-dev \
libayatana-appindicator3-dev \ libayatana-appindicator3-dev \
librsvg2-dev librsvg2-dev
- name: Run RPC server tests - name: Run RPC server tests
run: cargo test --package swap --all-features --test rpc -- --nocapture run: cargo test --package swap --all-features --test rpc -- --nocapture
@ -304,6 +304,6 @@ jobs:
libssl-dev \ libssl-dev \
libayatana-appindicator3-dev \ libayatana-appindicator3-dev \
librsvg2-dev librsvg2-dev
- name: Run cargo check on stable rust - name: Run cargo check on stable rust
run: cargo check --all-targets run: cargo check --all-targets