File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build on Windows
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ windowsbuild :
12
+ runs-on : windows-2019
13
+ steps :
14
+ - uses : xmake-io/github-action-setup-xmake@v1
15
+ with :
16
+ xmake-version : v2.8.5
17
+ - uses : actions/checkout@v3
18
+ with :
19
+ fetch-depth : 1
20
+ - name : config
21
+ run : xmake config --yes -vD
22
+ - name : build
23
+ run : xmake build --yes -vD s7
24
+ - name : test
25
+ run : xmake run --yes -vD plus.scm
26
+
Original file line number Diff line number Diff line change @@ -31,4 +31,11 @@ target("plus.scm") do
31
31
os .exec (cmd )
32
32
end )
33
33
end
34
+ if is_plat (" windows" ) then
35
+ on_run (function (target )
36
+ cmd = " $(buildir)/$(plat)/$(arch)/$(mode)/s7.exe " .. " tests/plus.scm"
37
+ print (" > " .. cmd )
38
+ os .exec (cmd )
39
+ end )
40
+ end
34
41
end
You can’t perform that action at this time.
0 commit comments