From eed558df1aefb386574fd6586f8c7f755665c532 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Tue, 15 Aug 2023 15:02:19 +0200 Subject: [PATCH 1/3] Add actions file --- .gitea/workflows/pull_request.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/pull_request.yaml diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml new file mode 100644 index 0000000..d627078 --- /dev/null +++ b/.gitea/workflows/pull_request.yaml @@ -0,0 +1,19 @@ +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: Build + run: cargo build From fe2ab1ff2beddb8ee858005a14dde9c39fe2ee40 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Tue, 15 Aug 2023 18:21:39 +0200 Subject: [PATCH 2/3] .gitea/workflows/pull_request.yaml aktualisiert --- .gitea/workflows/pull_request.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml index d627078..f3e4784 100644 --- a/.gitea/workflows/pull_request.yaml +++ b/.gitea/workflows/pull_request.yaml @@ -11,6 +11,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: apt testing + run: | + apt-get update + apt search libasound2-dev + apt-get install --no-install-recommends -y libasound2-dev + - uses: https://github.com/actions/checkout@v3 - uses: https://github.com/dtolnay/rust-toolchain@stable From 866c7eb2548b7b437cd5f82d16b3e154936f864a Mon Sep 17 00:00:00 2001 From: hodasemi Date: Tue, 15 Aug 2023 18:28:39 +0200 Subject: [PATCH 3/3] .gitea/workflows/pull_request.yaml aktualisiert --- .gitea/workflows/pull_request.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml index f3e4784..7a5f61d 100644 --- a/.gitea/workflows/pull_request.yaml +++ b/.gitea/workflows/pull_request.yaml @@ -11,15 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - - name: apt testing - run: | - apt-get update - apt search libasound2-dev - apt-get install --no-install-recommends -y libasound2-dev - - 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