diff options
| author | Ray <[email protected]> | 2020-08-17 20:49:04 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-17 20:49:04 +0200 |
| commit | 18aef2f781f401493cebbf619002d21ab36d6011 (patch) | |
| tree | 98de5a246f8284d5ec07686d58ac112f3b59519f /.github/workflows/ci_src_examples_win.yml.disabled | |
| parent | 4fd227527eac4da40290e175e7b9dc6b4b9edb42 (diff) | |
| download | raylib-18aef2f781f401493cebbf619002d21ab36d6011.tar.gz raylib-18aef2f781f401493cebbf619002d21ab36d6011.zip | |
Rename ci_src_examples_win.yml to ci_src_examples_win.yml.disabled
Diffstat (limited to '.github/workflows/ci_src_examples_win.yml.disabled')
| -rw-r--r-- | .github/workflows/ci_src_examples_win.yml.disabled | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/.github/workflows/ci_src_examples_win.yml.disabled b/.github/workflows/ci_src_examples_win.yml.disabled new file mode 100644 index 00000000..74658f98 --- /dev/null +++ b/.github/workflows/ci_src_examples_win.yml.disabled @@ -0,0 +1,64 @@ +name: CI - Source & Examples - Windows + +on: [push, pull_request] + +jobs: + build: + runs-on: windows-latest + strategy: + fail-fast: false + max-parallel: 1 + 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" + ARCH: "-A Win32" + - compiler: msvc16 + bits: 64 + GENERATOR: "Visual Studio 16 2019" + ARCH: "-A x64" + + env: + CFLAGS: ${{ matrix.CFLAGS }} + + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Setup Environment + run: | + mkdir build + cd build + + # Trying to solve an issue with CMake and Chocolatey for MinGW + - run: cmake -E remove c:\ProgramData\chocolatey\bin\cpack.exe + if: matrix.compiler == 'mingw' + + # Setup MSBuild.exe path if required + - uses: warrenbuckley/Setup-MSBuild@v1 + if: matrix.compiler == 'msvc16' + + - name: Build MinGW Project + run: | + cd ../raylib/src + make PLATFORM=PLATFORM_DESKTOP CC=gcc + if: matrix.compiler == 'mingw' + + - name: Setup CMake Project + run: cmake -G "${{ matrix.GENERATOR }}" ${{ matrix.ARCH }} -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=OFF -DINCLUDE_EVERYTHING=ON ../raylib + if: matrix.compiler == 'msvc16' + + - name: Build raylib Source & Examples + run: cmake --build . --target install + if: matrix.compiler == 'msvc16' |
