Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add windows workflow #58

Merged
merged 1 commit into from
Jan 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI_windows

on: [push, pull_request]

env:
CI: "ON"

jobs:
Build:
runs-on: windows-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v1

- run: cmake -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -Wdev -B build
env:
FC: gfortran
CC: gcc
CXX: g++

- name: CMake build
run: cmake --build build --parallel

- run: cmake --build build --verbose --parallel 1
if: failure()

- name: CTest
run: ctest --parallel -V
working-directory: build

- uses: actions/upload-artifact@v1
if: failure()
with:
name: WindowsCMakeTestlog
path: build/Testing/Temporary/LastTest.log