2023-08-16 06:59:21 +00:00
|
|
|
name: Gavania Merge Build
|
|
|
|
run_name: Test successful gavania build on merge request
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [opened, reopened, edited, review_requested, synchronize]
|
|
|
|
|
|
|
|
jobs:
|
2023-08-25 10:54:46 +00:00
|
|
|
# Arduino:
|
|
|
|
# steps:
|
|
|
|
# - uses: https://github.com/actions/checkout@v3
|
2023-08-16 06:59:21 +00:00
|
|
|
|
2023-08-25 10:54:46 +00:00
|
|
|
# - uses: https://github.com/dtolnay/rust-toolchain@stable
|
2023-08-16 06:59:21 +00:00
|
|
|
|
2023-08-25 10:54:46 +00:00
|
|
|
# - name: Install dependencies
|
|
|
|
# run: |
|
|
|
|
# apt-get update
|
|
|
|
# apt-get install --no-install-recommends -y gcc-avr
|
2023-08-25 08:24:26 +00:00
|
|
|
|
2023-08-25 10:54:46 +00:00
|
|
|
# - name: Build
|
|
|
|
# run: |
|
|
|
|
# cd rust/arduino
|
|
|
|
# cargo build
|
2023-08-16 06:59:21 +00:00
|
|
|
|
2023-08-25 10:54:46 +00:00
|
|
|
# Pico:
|
|
|
|
# steps:
|
|
|
|
# - uses: https://github.com/actions/checkout@v3
|
2023-08-16 06:59:21 +00:00
|
|
|
|
2023-08-25 10:54:46 +00:00
|
|
|
# - uses: https://github.com/dtolnay/rust-toolchain@stable
|
2023-08-16 06:59:21 +00:00
|
|
|
|
2023-08-25 10:54:46 +00:00
|
|
|
# - name: Install flip-link
|
|
|
|
# run: cargo install flip-link
|
2023-08-21 06:19:06 +00:00
|
|
|
|
2023-08-25 10:54:46 +00:00
|
|
|
# - name: Build
|
|
|
|
# run: |
|
|
|
|
# cd rust/pico
|
|
|
|
# cargo build
|
2023-08-16 06:59:21 +00:00
|
|
|
|
|
|
|
Serial Reader:
|
|
|
|
steps:
|
|
|
|
- uses: https://github.com/actions/checkout@v3
|
|
|
|
|
|
|
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
|
|
|
|
2023-08-21 06:19:06 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
apt-get update
|
2023-08-25 08:17:50 +00:00
|
|
|
apt-get install --no-install-recommends -y libpango1.0-dev libgtk-3-dev libudev-dev
|
2023-08-25 10:54:46 +00:00
|
|
|
|
2023-08-16 06:59:21 +00:00
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
cd rust/serial_reader
|
|
|
|
cargo build
|
|
|
|
|