Skip to content

Commit

Permalink
disable big-endian CI test
Browse files Browse the repository at this point in the history
Merlin's src/lib.rs contains hard-failure for big-endian targets because
I didn't test on them.  The test was added to the CI, but the
hard-failure wasn't removed, and cross now gives a linker error.  So
disable it entirely for now, and continue with the status quo (no
big-endian support).
  • Loading branch information
hdevalence committed Jan 14, 2021
1 parent 1741567 commit 226b779
Showing 1 changed file with 32 additions and 31 deletions.
63 changes: 32 additions & 31 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,35 @@ jobs:
with:
command: test

cross-linux-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust_target:
- powerpc-unknown-linux-gnu
- powerpc64-unknown-linux-gnu
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Install Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
target: ${{ matrix.rust_target }}
default: true
- name: Build
uses: actions-rs/cargo@v1
with:
# see https://github.com/rust-embedded/cross
use-cross: true
command: build
args: --target ${{ matrix.rust_target }}
- name: Test
uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --target ${{ matrix.rust_target }} -- --test-threads=1
# Uncomment this when adding support for big-endian targets.
# cross-linux-test:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# rust_target:
# - powerpc-unknown-linux-gnu
# - powerpc64-unknown-linux-gnu
# timeout-minutes: 10
# steps:
# - uses: actions/checkout@v2
# - name: Install Rust nightly
# uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# profile: minimal
# target: ${{ matrix.rust_target }}
# default: true
# - name: Build
# uses: actions-rs/cargo@v1
# with:
# # see https://github.com/rust-embedded/cross
# use-cross: true
# command: build
# args: --target ${{ matrix.rust_target }}
# - name: Test
# uses: actions-rs/cargo@v1
# with:
# use-cross: true
# command: test
# args: --target ${{ matrix.rust_target }} -- --test-threads=1

0 comments on commit 226b779

Please sign in to comment.