Skip to content

Commit

Permalink
Refactor actions. (#40)
Browse files Browse the repository at this point in the history
* Refactor actions.

* Don't use anchors.

* Change some case.
  • Loading branch information
tmadden committed Oct 8, 2020
1 parent a7e8ee7 commit d9e902b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 43 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/vs2019.yml

This file was deleted.

30 changes: 28 additions & 2 deletions .github/workflows/vs2017.yml → .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: VS2017
name: Windows

on:
push:
Expand All @@ -12,8 +12,8 @@ env:
CTEST_OUTPUT_ON_FAILURE: 1

jobs:
build:

VS2017:
runs-on: windows-2016

strategy:
Expand All @@ -38,3 +38,29 @@ jobs:
- name: Test
run: |
cmake --build build --config ${{matrix.config}} --target ctest
VS2019:
runs-on: windows-2019

strategy:
matrix:
config: [Debug, Release]

steps:
- uses: actions/checkout@v2

- name: Configure
run: |
cmake -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}} .
- name: Build tests
run: >
cmake --build build --config ${{matrix.config}}
--target unit_test_runner -j4
cmake --build build --config ${{matrix.config}}
--target single_header_tester
- name: Test
run: |
cmake --build build --config ${{matrix.config}} --target ctest
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ alia - A Library for Interactive Applications
<div class="hide-when-deployed">

[![image](https://flat.badgen.net/travis/tmadden/alia/master?icon=travis)](https://travis-ci.org/tmadden/alia/branches)
[![image](https://flat.badgen.net/appveyor/ci/tmadden/alia/master?icon=appveyor)](https://ci.appveyor.com/project/tmadden/alia/branch/master)
[![image](https://github.com/tmadden/alia/workflows/Windows/badge.svg)](https://github.com/TheLartians/ModernCppStarter/actions)
[![image](https://flat.badgen.net/codecov/c/github/tmadden/alia/master?icon=codecov)](https://codecov.io/gh/tmadden/alia/branch/master)
![image](https://flat.badgen.net/badge/C++/14%2C17/green)
[![image](https://flat.badgen.net/badge/stability/unstable/yellow)](https://github.com/orangemug/stability-badges#unstable)
Expand Down

0 comments on commit d9e902b

Please sign in to comment.