From c997666b0f26bc14f472b729bca4137a3e407679 Mon Sep 17 00:00:00 2001 From: Jeremy Borgman Date: Thu, 10 Sep 2020 14:38:03 -0500 Subject: [PATCH] testing windows ci --- .github/workflows/cmake-windows.yml | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/cmake-windows.yml diff --git a/.github/workflows/cmake-windows.yml b/.github/workflows/cmake-windows.yml new file mode 100644 index 00000000..90ca83a7 --- /dev/null +++ b/.github/workflows/cmake-windows.yml @@ -0,0 +1,44 @@ +name: Windows Build + +on: [push, pull_request] + + + +jobs: + build: + name: ${{ matrix.config.name }} + runs-on: ${{ matrix.config.os }} + strategy: + fail-fast: false + matrix: + config: + - { + name: "Windows Latest MSVC", artifact: "Windows-MSVC.tar.xz", + os: windows-latest, + cc: "cl", cxx: "cl", + environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat" + } + - { + name: "Windows Latest MinGW", artifact: "Windows-MinGW.tar.xz", + os: windows-latest, + cc: "gcc", cxx: "g++" + } + + steps: + - uses: actions/checkout@v1 + + - name: Install Qt + uses: jurplel/install-qt-action@v2 + + - name: Configure + shell: powershell + run: | + mkdir build + cd build + cmake -D CMAKE_BUILD_TYPE=Release ../ + - name: Build + shell: powershell + run: | + cd build + cmake --build . --config Release +