This repository was archived by the owner on Nov 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (51 loc) · 1.62 KB
/
continuous-windows.yml
File metadata and controls
58 lines (51 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Continuous Windows
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
windows:
name: ${{matrix.family}}-${{matrix.compiler}}-${{matrix.buildtype}}
runs-on: windows-latest
environment: CI
strategy:
fail-fast: false
matrix:
name: [windows-msvc] # , windows-msvc-clang-cl
buildtype: [debug, release]
include:
- name: windows-msvc
family: windows
compiler: msvc
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ilammy/msvc-dev-cmd@v1
- name: Get latest CMake
uses: lukka/get-cmake@latest
- name: Run vcpkg
uses: lukka/run-vcpkg@v10
with:
appendedCacheKey: ${{matrix.name}}${{matrix.buildtype}}
- name: Run CTest workflow
run: |
$env:DOGEN_BUILD_PROVIDER="github"
$env:DOGEN_BUILD_COMMIT="$env:GITHUB_SHA"
$env:DOGEN_BUILD_NUMBER="$env:GITHUB_RUN_NUMBER"
$env:DOGEN_BUILD_TIMESTAMP=Get-Date -format "yyyy/MM/dd HH:mm:ss"
$preset="${{matrix.family}}-${{matrix.compiler}}-${{matrix.buildtype}}"
$cmake_args="build_group=Experimental,preset=$preset"
ctest -VV --preset $preset --script "CTest.cmake,$cmake_args"
- name: Gitter
if: always()
uses: juztcode/gitter-github-action@v2
with:
room-id: ${{secrets.GITTER_ROOM_ID}}
token: ${{secrets.GITTER_TOKEN}}
text: ${{github.workflow}} - ${{matrix.family}}-${{matrix.compiler}}-${{matrix.buildtype}} - ${{job.status}}