54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
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: Install dependencies
|
|
# run: |
|
|
# apt-get update
|
|
# apt-get install --no-install-recommends -y gcc-avr
|
|
|
|
# - 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: Install flip-link
|
|
# run: cargo install flip-link
|
|
|
|
# - 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: Install dependencies
|
|
run: |
|
|
apt-get update
|
|
apt-get install --no-install-recommends -y libpango1.0-dev libgtk-3-dev libudev-dev
|
|
|
|
- name: Build
|
|
run: |
|
|
cd rust/serial_reader
|
|
cargo build
|
|
|