Browse Source

Merge pull request #20 from kolumb/fix-ci

Fix Windows CI errors not failing the build
Alexey Kutepov 4 years ago
parent
commit
0d43de4af5
2 changed files with 12 additions and 11 deletions
  1. 11 10
      .github/workflows/ci.yml
  2. 1 1
      build_msvc.bat

+ 11 - 10
.github/workflows/ci.yml

@@ -51,19 +51,20 @@ jobs:
           tar -xf SDL2-devel-2.0.12-VC.zip
           mv SDL2-2.0.12 SDL2
       - name: build sowon
+        shell: cmd
         run: |
           ./build_msvc.bat
   build-freebsd:
     runs-on: macos-latest
     name: FreeBSD LLVM Clang build
     steps:
-    - uses: actions/checkout@v2
-    - name: Build on FreeBSD
-      id: build
-      uses: vmactions/[email protected]
-      with:
-        usesh: true
-        prepare: pkg install -y sdl2 pkgconf
-        run: |
-          freebsd-version
-          make
+      - uses: actions/checkout@v2
+      - name: Build on FreeBSD
+        id: build
+        uses: vmactions/[email protected]
+        with:
+          usesh: true
+          prepare: pkg install -y sdl2 pkgconf
+          run: |
+            freebsd-version
+            make

+ 1 - 1
build_msvc.bat

@@ -1,5 +1,5 @@
 @echo off
-rem launch this from msvs-enabled console
+rem launch this from msvc-enabled console
 
 set CXXFLAGS=/std:c++17 /O2 /FC /W4 /WX /nologo
 set INCLUDES=/I SDL2\include