From 6bbe89db77523301ff6f98ce9e55d5061510d477 Mon Sep 17 00:00:00 2001 From: Aiden <86704247+vabold@users.noreply.github.com> Date: Sun, 4 Feb 2024 18:13:31 -0500 Subject: [PATCH] [WIP] Add verification action --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39f67241..0dadf938 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,8 @@ jobs: build: runs-on: ubuntu-latest timeout-minutes: 20 + outputs: + outDir: ${{ steps.artifact-upload-step.outputs.artifact-id }} steps: - name: Checkout uses: actions/checkout@v3 @@ -26,6 +28,7 @@ jobs: - name: Compile run: ninja - name: Upload result + id: artifact-upload-step uses: actions/upload-artifact@v3 with: name: Kinoko @@ -43,3 +46,15 @@ jobs: run: | dirs="include source" find $dirs -regex '.*\.\(c\|h\|cc\|hh\)' | xargs clang-format-15 --dry-run -Werror + + verify: + name: Verify + runs-on: ubuntu-latest + needs: build + steps: + - env: + outDir: ${{needs.build.outputs.outDir}} + run: | + cp -r $outDir ./ + ./out/Kinoko.exe +