Skip to content

Commit

Permalink
Fine tune cross compilation ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ogxd committed May 27, 2024
1 parent 7f591bb commit d254970
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/cross_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@ jobs:
include:
- from: ubuntu-latest
target: "aarch64-apple-darwin"
can_work_as_hybrid: false
allow_failure_hybrid: true
- from: ubuntu-latest
target: "aarch64-unknown-linux-gnu"
can_work_as_hybrid: false
allow_failure_hybrid: true
- from: ubuntu-latest
target: "aarch64-unknown-linux-musl"
can_work_as_hybrid: false
allow_failure_hybrid: true
- from: ubuntu-latest
target: "i686-unknown-linux-gnu"
can_work_as_hybrid: false
allow_failure_hybrid: true
- from: ubuntu-latest
target: "x86_64-pc-windows-msvc"
can_work_as_hybrid: true
allow_failure_hybrid: true # Supposed to work as hybrid but not tested yet
- from: ubuntu-latest
target: "x86_64-unknown-linux-gnu"
can_work_as_hybrid: true
allow_failure_hybrid: false
- from: macos-latest
target: "aarch64-apple-darwin"
can_work_as_hybrid: false
allow_failure_hybrid: true
- from: macos-latest
target: "x86_64-unknown-linux-gnu"
can_work_as_hybrid: true
allow_failure_hybrid: true # Supposed to work as hybrid but not tested yet

runs-on: ${{ matrix.from }}

Expand All @@ -60,8 +60,7 @@ jobs:

- name: Switch to nightly rust
run: rustup default nightly
# if: ${{ matrix.can_work_as_hybrid }}

- name: Build Hybrid
continue-on-error: ${{ !matrix.can_work_as_hybrid }}
continue-on-error: ${{ matrix.allow_failure_hybrid }}
run: cargo build --release --features hybrid --target ${{ matrix.target }}

0 comments on commit d254970

Please sign in to comment.