File tree Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ name : MSBuild
7
+
8
+ on :
9
+ push :
10
+ branches : [ "master" ]
11
+ pull_request :
12
+ branches : [ "master" ]
13
+
14
+ env :
15
+ # Path to the solution file relative to the root of the project.
16
+ SOLUTION_FILE_PATH : .
17
+
18
+ # Configuration type to build.
19
+ # You can convert this to a build matrix if you need coverage of multiple configuration types.
20
+ # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
21
+ BUILD_CONFIGURATION : Release
22
+
23
+ permissions :
24
+ contents : read
25
+
26
+ jobs :
27
+ build :
28
+ runs-on : windows-latest
29
+
30
+ steps :
31
+ - uses : actions/checkout@v3
32
+ - uses : actions/cache@v3
33
+ with :
34
+ key : ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }}-${{ hashFiles('**/import_map.json') }}
35
+ path : |
36
+ ~\.deno
37
+ ~\AppData\Local\deno
38
+ - uses : actions/cache@v3
39
+ with :
40
+ path : |
41
+ C:\vcpkg
42
+
43
+ key : ${{ runner.os }}-vcpkg-${{ hashFiles('**/xmake.lua') }}
44
+
45
+ - name : Add MSBuild to PATH
46
+
47
+ with :
48
+ vs-prerelease : true
49
+
50
+ - name : vcpkg-action
51
+
52
+ uses : johnwason/vcpkg-action@v4
53
+ with :
54
+ triplet : x64-windows-release
55
+ pkgs : " gtest cppunit"
56
+
57
+ token : ${{ github.token }}
58
+ - name : Setup Deno
59
+
60
+
61
+ with :
62
+ deno-version : v1.33.1
63
+ - run : deno task cache
64
+ - uses : xmake-io/github-action-setup-xmake@v1
65
+ with :
66
+ xmake-version : latest
67
+ actions-cache-folder : " .xmake-cache"
68
+ - run : deno run -A xmake.ts
You can’t perform that action at this time.
0 commit comments