spelling: https #91
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ' |