File tree 1 file changed +22
-6
lines changed 1 file changed +22
-6
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
build :
12
+
13
+ strategy :
14
+ matrix :
15
+ include :
16
+ - arch : x64
17
+ folder : x64
18
+ - arch : x86
19
+ folder : x86
20
+ - arch : amd64_arm64
21
+ folder : aarch64
22
+ - arch : amd64_arm
23
+ folder : arm
24
+
25
+ name : Build for ${{ matrix.folder }}
12
26
runs-on : windows-latest
13
27
14
28
steps :
15
29
- name : Get Sources
16
30
uses : actions/checkout@v3
17
31
18
32
- uses : ilammy/msvc-dev-cmd@v1
33
+ with :
34
+ arch : ${{ matrix.arch }}
19
35
20
36
- name : Prepare build
21
37
run : cmake -B build
@@ -26,16 +42,16 @@ jobs:
26
42
- name : Prepare files
27
43
run : |
28
44
mkdir upload
29
- mkdir upload\x64
45
+ mkdir upload\${{ matrix.folder }}
30
46
31
47
copy src/btrfs.inf upload
32
- copy build\Release\ubtrfs.dll upload\x64
33
- copy build\Release\shellbtrfs.dll upload\x64
34
- copy build\Release\mkbtrfs.exe upload\x64
35
- copy build\Release\btrfs.sys upload\x64
48
+ copy build\Release\ubtrfs.dll upload\${{ matrix.folder }}
49
+ copy build\Release\shellbtrfs.dll upload\${{ matrix.folder }}
50
+ copy build\Release\mkbtrfs.exe upload\${{ matrix.folder }}
51
+ copy build\Release\btrfs.sys upload\${{ matrix.folder }}
36
52
37
53
- name : Upload files
38
54
uses : actions/upload-artifact@v3
39
55
with :
40
56
name : btrfs
41
- path : upload/*
57
+ path : upload/*
You can’t perform that action at this time.
0 commit comments