Skip to content

Commit e4bbe32

Browse files
committed
create build.yml
1 parent cf3c3cd commit e4bbe32

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
7+
jobs:
8+
build:
9+
runs-on: windows-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Add MSBuild to PATH
15+
uses: microsoft/setup-msbuild@v1.0.2
16+
- name: Build toast-win10
17+
working-directory: ${{github.workspace}}\win10
18+
run: cargo build --verbose --release
19+
- name: Build toast-win7
20+
working-directory: ${{github.workspace}}\win7
21+
run: msbuild /m /p:Configuration=Release Win7Notify.sln

0 commit comments

Comments
 (0)