Browse Source

Create Windows.yml

Panagiotis Christopoulos Charitos 4 years ago
parent
commit
9c8a99a020
1 changed files with 34 additions and 0 deletions
  1. 34 0
      .github/workflows/Windows.yml

+ 34 - 0
.github/workflows/Windows.yml

@@ -0,0 +1,34 @@
+name: Windows
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  Debug:
+    runs-on: windows-latest
+
+    steps:
+    - name: Clone
+      uses: actions/checkout@v2
+
+    - name: Configure CMake
+      run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DANKI_EXTRA_CHECKS=ON
+
+    - name: Build
+      run: cmake --build ${{github.workspace}}/build --config Debug
+      
+  Release:
+    runs-on: windows-latest
+
+    steps:
+    - name: Clone
+      uses: actions/checkout@v2
+
+    - name: Configure CMake
+      run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DANKI_EXTRA_CHECKS=OFF
+
+    - name: Build
+      run: cmake --build ${{github.workspace}}/build --config Release