Skip to content

Commit

Permalink
Revert "ops(tests): run tests on aarch64, armv7 and x86_64 architectu…
Browse files Browse the repository at this point in the history
…res"

This reverts commit 4438386.

Waiting for actions/runner-images#2552.

Signed-off-by: Gaoyang Zhang <[email protected]>
  • Loading branch information
blurgyy committed Apr 4, 2022
1 parent 6b71a9c commit 1a9b093
Showing 1 changed file with 2 additions and 31 deletions.
33 changes: 2 additions & 31 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,7 @@ name: tests
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
build: [x86_64, armv7, aarch64]
include:
- build: x86_64
toolchain: stable
target: x86_64-unknown-linux-gnu
cross: false
strip_bin: strip
- build: armv7
toolchain: stable
target: armv7-unknown-linux-gnueabihf
cross: true
cross_helpers: gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
strip_bin: arm-linux-gnueabihf-strip
- build: aarch64
toolchain: stable
target: aarch64-unknown-linux-gnu
cross: true
cross_helpers: gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
strip_bin: aarch64-linux-gnu-strip
steps:
- name: Install Linker
if: ${{ matrix.cross }}
run: |
sudo apt update
sudo apt install ${{ matrix.cross_helpers }}
- name: Checkout code
uses: actions/checkout@v2
with:
Expand All @@ -44,15 +18,12 @@ jobs:
- name: Setup rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
#override: true
toolchain: stable
- name: Run unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features --locked --target ${{ matrix.target }}
use-cross: ${{ matrix.cross }}
args: --all --all-features --locked

# Author: Blurgy <[email protected]>
# Date: Oct 07 2021, 00:39 [CST]

0 comments on commit 1a9b093

Please sign in to comment.