summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorRay <[email protected]>2020-01-10 15:52:33 +0100
committerGitHub <[email protected]>2020-01-10 15:52:33 +0100
commitc77f97c84a30a0e628cc764134f372eba0d43715 (patch)
treefae97cdc497d6a841ab70cd5298c2b0db48c23c7 /.github
parentd8f1aad494dc18a12f28ef8a4a20766451619053 (diff)
downloadraylib-c77f97c84a30a0e628cc764134f372eba0d43715.tar.gz
raylib-c77f97c84a30a0e628cc764134f372eba0d43715.zip
Update ci_src_examples_win.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci_src_examples_win.yml29
1 files changed, 27 insertions, 2 deletions
diff --git a/.github/workflows/ci_src_examples_win.yml b/.github/workflows/ci_src_examples_win.yml
index a497ac22..4e485169 100644
--- a/.github/workflows/ci_src_examples_win.yml
+++ b/.github/workflows/ci_src_examples_win.yml
@@ -5,15 +5,40 @@ on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
+ strategy:
+ matrix:
+ compiler: [mingw, msvc16]
+ bits: [32, 64]
+ include:
+ - compiler: mingw
+ bits: 32
+ CFLAGS: -m32
+ GENERATOR: "MinGW Makefiles"
+ - compiler: mingw
+ bits: 64
+ CFLAGS: -m64
+ GENERATOR: "MinGW Makefiles"
+ - compiler: msvc16
+ bits: 32
+ GENERATOR: "Visual Studio 16 2019"
+ - compiler: msvc16
+ bits: 64
+ GENERATOR: "Visual Studio 16 2019 Win64"
+
steps:
- - uses: actions/checkout@master
+ - name: Checkout
+ uses: actions/checkout@master
+
- name: Setup Environment
run: |
mkdir build
cd build
+
- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1
+
- name: Setup CMake Project
- run: cmake -G "Visual Studio 16 2019" -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=OFF -DINCLUDE_EVERYTHING=ON ../raylib
+ run: cmake -G $GENERATOR -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=OFF -DINCLUDE_EVERYTHING=ON ../raylib
+
- name: Build raylib Source & Examples
run: cmake --build . --target install