Skip to content

Commit ebb3135

Browse files
authored
- CI action via github actions (#104)
1 parent ee0285a commit ebb3135

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
9+
# Maintain dependencies for GitHub Actions
10+
- package-ecosystem: "github-actions"
11+
directory: "/"
12+
schedule:
13+
interval: "monthly"

.github/workflows/CI_build.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI_build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: windows-latest
9+
10+
steps:
11+
- name: Checkout repo
12+
uses: actions/checkout@v6
13+
14+
- name: Install swissfileknife
15+
run: |
16+
choco install swissfileknife
17+
18+
- name: Add msbuild to PATH
19+
uses: microsoft/setup-msbuild@v2
20+
21+
- name: Build plugin dlls
22+
working-directory: .\NppExec
23+
run: |
24+
msbuild NppExec_VC2022.sln /m /p:configuration="Release" /p:platform="Win32"
25+
msbuild NppExec_VC2022.sln /m /p:configuration="Release" /p:platform="x64"
26+
27+
- name: Build plugin chm help
28+
working-directory: .
29+
shell: cmd
30+
run: |
31+
NppExec_Manual_chm_build.bat
32+
33+
34+
- name: create zip packages
35+
working-directory: .
36+
shell: cmd
37+
run: |
38+
NppExec_zip_src_dll.bat
39+
40+
- name: Archive artifacts
41+
uses: actions/upload-artifact@v6
42+
with:
43+
name: nppexec zips
44+
path: NppExec*.zip
45+

0 commit comments

Comments
 (0)