diff options
| author | 2023-05-18 14:20:38 +0200 | |
|---|---|---|
| committer | 2023-05-18 15:15:41 +0200 | |
| commit | a6a097c111eb4087389ce73050c847bdd1175e7f (patch) | |
| tree | 8408658bb953e964283a9048a559d03e06d42393 /.github | |
| parent | Move -g to CFLAGS to make it easier to remove/customize (diff) | |
Add CI test for mingw/wine on linux
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6dde896c..c620c513 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,3 +57,20 @@ jobs: - name: Build the project shell: cmd run: make -j CC=gcc + + test-mingw-linux: + name: Build and test with Mingw on Linux + Wine + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@master + - name: Setup Mingw and wine + run: | + sudo dpkg --add-architecture i386 + sudo apt-get update + sudo apt-get install libstdc++6:i386 libgcc-s1:i386 + sudo apt-get install gcc-mingw-w64-x86-64-win32 wine wine32 wine64 + - name: Compile the project + run: make clean && make CC=x86_64-w64-mingw32-gcc LD=x86_64-w64-mingw32-gcc UNAME=MINGW RUN=wine + - name: Test the project + run: make test UNAME=MINGW RUN=wine |
