Add actions file #7
1 changed files with 24 additions and 0 deletions
24
.gitea/workflows/pull_request.yaml
Normal file
24
.gitea/workflows/pull_request.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Gavania Merge Build
|
||||
run_name: Test successful gavania build on merge request
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, edited, review_requested, synchronize]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v3
|
||||
|
||||
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Install alsa-lib
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install --no-install-recommends -y libasound2-dev
|
||||
|
||||
- name: Build
|
||||
run: cargo build
|
Loading…
Reference in a new issue