Skip to content

Commit 15e7a78

Browse files
committed
CI: add windows builder, upload artifacts
1 parent 2d23438 commit 15e7a78

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

.github/workflows/c-cpp.yml .github/workflows/debian-build.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: C/C++ CI
1+
name: Debian Build
22

33
on:
44
push:
5-
# branches: [ $default-branch ]
5+
# branches: [ master ]
66
pull_request:
7-
branches: [ $default-branch ]
7+
branches: [ master ]
88

99
jobs:
1010
build:
@@ -21,3 +21,7 @@ jobs:
2121
run: make
2222
- name: make test
2323
run: make test
24+
- uses: actions/upload-artifact@v4
25+
with:
26+
name: debian-binary
27+
path: me7sum

.github/workflows/windows-build.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Windows Build
2+
3+
on:
4+
push:
5+
# branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: TheMrMilchmann/setup-msvc-dev@v3
17+
with:
18+
arch: x86
19+
- name: build
20+
run: nmake
21+
- uses: actions/upload-artifact@v4
22+
with:
23+
name: windows-binary
24+
path: me7sum.exe

0 commit comments

Comments
 (0)