From ccf72eee4b56bdd20cd025ebc11acb410704a7d9 Mon Sep 17 00:00:00 2001 From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:19:07 -0500 Subject: [PATCH] Create build-custom.yml --- .github/workflows/build-custom.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build-custom.yml diff --git a/.github/workflows/build-custom.yml b/.github/workflows/build-custom.yml new file mode 100644 index 0000000..9708263 --- /dev/null +++ b/.github/workflows/build-custom.yml @@ -0,0 +1,27 @@ +name: .NET + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + - name: Install fpcalc + run: apt install -y libchromaprint-tools + - name: Test + run: dotnet test --no-build --verbosity normal + - name: Build + run: dotnet build --no-restore