9
9
steps :
10
10
- uses : actions/checkout@v2
11
11
- name : makeInit
12
- run : |
13
- make LDEF=0 LZMA=0 ZSTD=0 MD5=0 -j
14
- make LDEF=0 LZMA=0 ZSTD=0 MD5=0 clean
15
- - name : makeNoAll
16
12
run : |
17
13
git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5
18
14
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma
19
15
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd
20
- make DIR_DIFF=0 MT=0 BSD=0 VCD=0 ZLIB=0 LDEF=0 BZIP2=0 -j
21
- make DIR_DIFF=0 MT=0 BSD=0 VCD=0 ZLIB=0 LDEF=0 BZIP2=0 clean
16
+ git clone --depth=1 https://github.com/sisong/zlib.git ../zlib
17
+ git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate
22
18
- name : makeNoldef
23
19
run : |
24
20
make LDEF=0 -j
25
21
make LDEF=0 clean
26
- - name : makeAll
27
- run : |
28
- git clone --depth=1 https://github.com/sisong/zlib.git ../zlib
29
- git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate
30
- make -j
31
- make clean
32
- - name : makeByBz2Code
33
- run : |
34
- git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2
35
- make BZIP2=1 -j
36
-
37
- clang-build :
38
- runs-on : ubuntu-latest
39
- steps :
40
- - uses : actions/checkout@v2
41
- - name : installClang
42
- run : |
43
- sudo apt-get install -y llvm clang
44
- - name : initAndClone
45
- run : |
46
- git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5
47
- git clone --depth=1 https://github.com/sisong/lzma.git ../lzma
48
- git clone --depth=1 https://github.com/sisong/zstd.git ../zstd
49
- git clone --depth=1 https://github.com/sisong/zlib.git ../zlib
50
- git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate
51
- - name : makeByClang
52
- run : |
53
- make CL=1 -j
54
22
55
- xcode-build :
56
- runs-on : macos-latest
23
+ make-build2 :
24
+ strategy :
25
+ matrix :
26
+ platform : [ubuntu-latest, macos-latest]
27
+ runs-on : ${{ matrix.platform }}
57
28
steps :
58
29
- uses : actions/checkout@v2
59
- - name : initAndClone
30
+ - name : makeInit
60
31
run : |
61
32
git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5
62
33
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma
63
34
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd
64
35
git clone --depth=1 https://github.com/sisong/zlib.git ../zlib
65
36
git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate
66
- - name : buildByXcode
67
- run : |
68
- xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme hdiffz -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin
69
- xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme hpatchz -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin
70
- xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme unitTest -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin
71
-
72
- macos-ndk-build :
73
- runs-on : macos-latest
74
- steps :
75
- - uses : actions/checkout@v2
76
-
77
- with :
78
- ndk-version : r23c
79
- - name : buildByAndroidNDK
80
- run : |
81
- git clone --depth=1 https://github.com/sisong/lzma.git ../lzma
82
- git clone --depth=1 https://github.com/sisong/zstd.git ../zstd
83
- cd ./builds/android_ndk_jni_mk
84
- ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk APP_PLATFORM=android-16 APP_ABI=all
85
-
86
- windows-ndk-build :
87
- runs-on : windows-latest
88
- steps :
89
- - uses : actions/checkout@v2
90
-
91
- with :
92
- ndk-version : r16b
93
- - name : buildByAndroidNDK
94
- run : |
95
- git clone --depth=1 https://github.com/sisong/lzma.git ../lzma
96
- git clone --depth=1 https://github.com/sisong/zstd.git ../zstd
97
- git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2
98
- cd ./builds/android_ndk_jni_mk
99
- ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk BSD=1 BZIP2=1
100
-
101
- ubuntu-ndk-build :
102
- runs-on : ubuntu-latest
103
- steps :
104
- - uses : actions/checkout@v2
105
-
106
- with :
107
- ndk-version : r16b
108
- - name : buildByAndroidNDK
37
+ - name : makeAll
109
38
run : |
110
- sudo apt install libncurses5
111
- git clone --depth=1 https://github.com/sisong/lzma.git ../lzma
112
- git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2
113
- git clone --depth=1 https://github.com/sisong/zstd.git ../zstd
114
- cd ./builds/android_ndk_jni_mk
115
- ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk BSD=1 BZIP2=1 VCD=1
116
-
117
- vc-build :
118
- runs-on : windows-latest
119
- steps :
120
- - uses : actions/checkout@v2
121
- -
uses :
microsoft/[email protected]
122
- with :
123
- msbuild-architecture : x64
124
- - name : initAndClone
39
+ make -j
40
+ make clean
41
+ - name : makeByBz2Code
125
42
run : |
126
- git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5
127
- git clone --depth=1 https://github.com/sisong/lzma.git ../lzma
128
- git clone --depth=1 https://github.com/sisong/zstd.git ../zstd
129
43
git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2
130
- git clone --depth=1 https://github.com/sisong/zlib.git ../zlib
131
- git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate
132
- - name : buildByVC
133
- run : |
134
- msbuild builds/vc/HDiffPatch.sln -t:rebuild -verbosity:diag -property:Configuration=Release
44
+ make BZIP2=1 -j
45
+ make BZIP2=1 clean
0 commit comments