Skip to content

Merge pull request #4 from ohchase/dependabot/github_actions/actions/… #16

Merge pull request #4 from ohchase/dependabot/github_actions/actions/…

Merge pull request #4 from ohchase/dependabot/github_actions/actions/… #16

# We could use `@actions-rs/cargo` Action ability to automatically install `cross` tool
# in order to compile our application for some unusual targets.
on: [push, pull_request]
name: arm-unknown-linux-gnueabi
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
target:
- arm-unknown-linux-gnueabi
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --target=${{ matrix.target }}
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --target=${{ matrix.target }}