Create dependabot.yml #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: x86_64-unknown-linux-gnu | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: | |
- x86_64-unknown-linux-gnu | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v2 | |
- 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 }} |