Skip to content

feat: update pipeline to allow more build targets #33

feat: update pipeline to allow more build targets

feat: update pipeline to allow more build targets #33

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- run: cargo check
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- run: cargo test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --all -- --check
build-targets:
name: Build targets
uses: ./.github/workflows/_build_target.yml

Check failure on line 41 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build.yml" -> "./.github/workflows/_build_target.yml" (source branch with sha:cdc7f1094f74d08b628af52c5aa70edccb82cabd) : No event triggers defined in `on`
strategy:
matrix:
target: [x86_64-unknown-linux-gnu, x86_64-apple-darwin]
with:
target: ${{ matrix.target }}
channel: stable