-
Notifications
You must be signed in to change notification settings - Fork 35
62 lines (58 loc) · 1.76 KB
/
verify.yaml
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
59
60
61
62
name: Linux & Windows CI
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- run: |
git fetch --prune --unshallow --tags
echo exit code $?
git tag --list
- uses: actions/setup-dotnet@v2
with:
dotnet-version: |
3.0.103
3.1.421
6.0.302
source-url: https://nuget.pkg.github.com/editorconfig/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Prepare
run: cmake --version && git submodule init && git submodule update
- run: dotnet build -c Debug
name: Build
- run: dotnet src/EditorConfig.App/bin/Debug/net6.0/EditorConfig.App.dll .editorconfig src/EditorConfig.Tests/MiniMatcherTests.cs
name: SmokeTest
- name: Core tests
run: 'cmake . && ctest . -E "max_property_(name|value)|max_section_name_ignore" '
windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- run: |
git fetch --prune --unshallow --tags
echo exit code $?
git tag --list
- uses: actions/setup-dotnet@v2
with:
dotnet-version: |
3.0.103
3.1.421
6.0.302
source-url: https://nuget.pkg.github.com/editorconfig/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Prepare
shell: cmd
run: cmake --version && git submodule init && git submodule update
- run: dotnet build -c Debug
shell: cmd
name: Build
- name: Core tests
shell: cmd
run: 'cmake . && ctest . -E "max_property_(name|value)|max_section_name_ignore|windows_separator2" '