File tree Expand file tree Collapse file tree 3 files changed +65
-0
lines changed Expand file tree Collapse file tree 3 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build sakura
2+
3+ # Controls when the action will run. Triggers the workflow on push or pull request
4+ # events but only for the master branch
5+ on :
6+ push :
7+ branches :
8+ - master
9+ - feature/*
10+
11+ pull_request :
12+ branches :
13+ - master
14+ - feature/*
15+ - release/*
16+
17+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
18+ jobs :
19+ # This workflow contains a single job called "build"
20+ build :
21+ # The type of runner that the job will run on
22+ name : MSBuild
23+ runs-on : windows-latest
24+
25+ strategy :
26+ matrix :
27+ config :
28+ - Debug
29+ - Release
30+ platform :
31+ - Win32
32+ - x64
33+
34+ # Steps represent a sequence of tasks that will be executed as part of the job
35+ steps :
36+ - uses : actions/checkout@v2
37+
38+ - name : Add msbuild to PATH
39+ 40+
41+ - name : MSBuild
42+ run : build-sln.bat ${{ matrix.platform }} ${{ matrix.config }}
43+ shell : cmd
44+
45+ # # #922 のため無効化
46+ #
47+ # - name: Build HTML Help
48+ # run: build-chm.bat
49+ # shell: cmd
50+ #
51+ # - name: Build installer with Inno Setup
52+ # run: build-installer.bat ${{ matrix.platform }} ${{ matrix.config }}
53+ # shell: cmd
54+
55+ - name : zipArtifacts
56+ run : zipArtifacts.bat ${{ matrix.platform }} ${{ matrix.config }}
57+ shell : cmd
58+
59+ - name : Upload
60+ uses : actions/upload-artifact@v2
61+ with :
62+ name : exe ${{ matrix.platform }} ${{ matrix.config }}
63+ path : ' *.zip'
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ skip_commits:
2323 - ' ci/azure-pipelines/template*.yml'
2424 - ' .github/*.md'
2525 - ' .github/ISSUE_TEMPLATE/*.md'
26+ - ' .github/workflows/*.yml'
2627
2728install :
2829- cmd : |
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ trigger:
1515 - " *.md"
1616 - .github/*.md
1717 - .github/ISSUE_TEMPLATE/*.md
18+ - .github/workflows/*.yml
1819 - .gitignore
1920 - .travis.yml
2021 - appveyor.yml
You can’t perform that action at this time.
0 commit comments