From 8faecb14343bcb283ce0fe92c107beef3b998133 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 23 Apr 2022 09:17:05 +0200 Subject: [PATCH] Add action to the pr workflow that checks building the module with logging --- .github/workflows/pr.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ef22559..44cd080 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,6 +10,17 @@ jobs: - name: clang-format run: | docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src + check-build-with-logging: + runs-on: ubuntu-18.04 + needs: clang-format + steps: + - uses: actions/checkout@v2 + - name: build binary with logging + run: | + docker build . -t builder + docker run --rm -v ${PWD}:/project builder make DEBUG=VERBOSE + docker run --rm -v ${PWD}:/project builder make clean + docker run --rm -v ${PWD}:/project builder make DEBUG=1 build-binary: runs-on: ubuntu-18.04 needs: clang-format @@ -22,4 +33,4 @@ jobs: - uses: actions/upload-artifact@master with: name: binary - path: "*.wms" \ No newline at end of file + path: "*.wms"