41 lines
870 B
YAML
41 lines
870 B
YAML
name: Gavania Merge Build
|
|
run_name: Test successful gavania build on merge request
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, edited, review_requested, synchronize]
|
|
|
|
jobs:
|
|
Arduino:
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v3
|
|
|
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
|
|
|
- name: Build
|
|
run: |
|
|
cd rust/arduino
|
|
cargo build
|
|
|
|
Pico:
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v3
|
|
|
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
|
|
|
- name: Build
|
|
run: |
|
|
cd rust/pico
|
|
cargo build
|
|
|
|
Serial Reader:
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v3
|
|
|
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
|
|
|
- name: Build
|
|
run: |
|
|
cd rust/serial_reader
|
|
cargo build
|
|
|