Skip to content

Commit

Permalink
Running unit tests for mingw builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chukobyte committed Jan 4, 2024
1 parent 6201882 commit 38c31cf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/windows-mingw-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,21 @@ jobs:
with:
install: gcc make

- name: run build
- name: install dependencies
shell: msys2 {0}
run: |
(echo ""; echo "y") | pacman -S mingw-w64-x86_64-toolchain
echo "y" | pacman -S mingw-w64-x86_64-cmake
echo "y" | pacman -S mingw-w64-x86_64-SDL2
echo "y" | pacman -S mingw-w64-x86_64-freetype
- name: run build
shell: msys2 {0}
run: |
cmake -G "MinGW Makefiles" . -DIS_CI_BUILD="true"
cmake --build .
- name: run unit tests
shell: msys2 {0}
run: |
./seika_test.exe
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seika",
"version": "0.0.20",
"version": "0.0.21",
"dependencies": [
{
"name": "sdl2",
Expand Down

0 comments on commit 38c31cf

Please sign in to comment.