Skip to content

Commit

Permalink
Add github actions check to check files in codeblocks project (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli authored Jan 23, 2023
1 parent ecc48d5 commit d78d4b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions jou.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
<Unit filename="src/types.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="src/util.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="src/util.h" />
<Extensions>
<lib_finder disable_auto="1" />
Expand Down

0 comments on commit d78d4b4

Please sign in to comment.