-
Notifications
You must be signed in to change notification settings - Fork 222
39 lines (30 loc) · 1.16 KB
/
CI_build.yml
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
name: Continuous Integration
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
max-parallel: 6
matrix:
build_configuration: [Release, Debug, Debug-xml-test]
build_platform: [x64, Win32]
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: "Use CI config files"
run: |
Write-Host "rename paths.props.appveyor" -ForegroundColor Green
Rename-Item -Path ".\paths.props.appveyor" -NewName "paths.props"
New-Item -ItemType directory -Path NotepadTest\unicode\plugins
New-Item -ItemType directory -Path NotepadTest\unicode\updater
New-Item -ItemType directory -Path NotepadTest\x64\plugins
New-Item -ItemType directory -Path NotepadTest\x64\updater
shell: pwsh
working-directory: .
- name: MSBuild of solution
working-directory: .
run: msbuild PluginManager.sln /m /verbosity:minimal /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}"