2024-03-11 20:37:38 +00:00
|
|
|
name: Terrarium Controller Merge Build
|
|
|
|
run_name: Test successful terrarium controller build on merge request
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [opened, reopened, edited, review_requested, synchronize]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
Build:
|
|
|
|
steps:
|
2024-03-13 07:53:53 +00:00
|
|
|
- uses: https://github.com/actions/checkout@main
|
2024-03-11 20:37:38 +00:00
|
|
|
|
|
|
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
|
|
|
|
2024-03-13 07:53:53 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
apt-get update
|
|
|
|
apt-get install --no-install-recommends -y libpango1.0-dev libgtk-3-dev libudev-dev
|
|
|
|
|
2024-03-11 20:37:38 +00:00
|
|
|
- name: Build
|
|
|
|
run: cargo build
|