Skip to content

Commit

Permalink
ci: disable android
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-herlemont committed May 15, 2023
1 parent 5fca064 commit 6487587
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,29 @@ jobs:
with:
command: test
args: {{ if eq(matrix.feature, 'no_feature') }}{{ else }} -F ${{ matrix.feature }} {{ endif }}
build_android:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
target: [aarch64-linux-android, arm-linux-androideabi, armv7-linux-androideabi, i686-linux-android, thumbv7neon-linux-androideabi, x86_64-linux-android]
toolchain: [stable]
feature: [ no_feature , "eyre_support" ]
steps:
- uses: actions/checkout@v2
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target ${{ matrix.target }} {{ if eq(matrix.feature, 'no_feature') }}{{ else }} -F ${{ matrix.feature }} {{ endif }}
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --release --target ${{ matrix.target }} {{ if eq(matrix.feature, 'no_feature') }}{{ else }} -F ${{ matrix.feature }} {{ endif }}
# build_android:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: true
# matrix:
# target: [aarch64-linux-android, arm-linux-androideabi, armv7-linux-androideabi, i686-linux-android, thumbv7neon-linux-androideabi, x86_64-linux-android]
# toolchain: [stable]
# feature: [ no_feature , "eyre_support" ]
# steps:
# - uses: actions/checkout@v2
# - name: Setup Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: ${{ matrix.toolchain }}
# override: true
# - name: Build
# uses: actions-rs/cargo@v1
# with:
# use-cross: true
# command: build
# args: --release --target ${{ matrix.target }} {{ if eq(matrix.feature, 'no_feature') }}{{ else }} -F ${{ matrix.feature }} {{ endif }}
# - name: Run tests
# uses: actions-rs/cargo@v1
# with:
# command: test
# args: --release --target ${{ matrix.target }} {{ if eq(matrix.feature, 'no_feature') }}{{ else }} -F ${{ matrix.feature }} {{ endif }}

0 comments on commit 6487587

Please sign in to comment.