From d78d4b4064683fe8d52d586b9c68c4b1f5a0f7e2 Mon Sep 17 00:00:00 2001 From: Akuli Date: Mon, 23 Jan 2023 21:53:51 +0200 Subject: [PATCH] Add github actions check to check files in codeblocks project (#125) --- .github/workflows/windows.yml | 10 +++++++++- jou.cbp | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f65f0d99..2374cd0c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -61,7 +61,15 @@ jobs: name: exe-and-dlls path: exe-and-dlls - # TODO: Doesn't work, lots of errors + codeblocks-project: + # Ensure that the codeblocks project contains all source files. + # It gets outdated easily when I create a new file on linux. + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: | + diff -u --color=always <(ls src/* | sort) <(grep filename= jou.cbp | cut -d'"' -f2) + test: needs: build runs-on: windows-latest diff --git a/jou.cbp b/jou.cbp index ad622417..56035a72 100644 --- a/jou.cbp +++ b/jou.cbp @@ -77,6 +77,9 @@ + +