-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,126 +9,37 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: makeInit | ||
run: | | ||
make LDEF=0 LZMA=0 ZSTD=0 MD5=0 -j | ||
make LDEF=0 LZMA=0 ZSTD=0 MD5=0 clean | ||
- name: makeNoAll | ||
run: | | ||
git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5 | ||
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma | ||
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd | ||
make DIR_DIFF=0 MT=0 BSD=0 VCD=0 ZLIB=0 LDEF=0 BZIP2=0 -j | ||
make DIR_DIFF=0 MT=0 BSD=0 VCD=0 ZLIB=0 LDEF=0 BZIP2=0 clean | ||
git clone --depth=1 https://github.com/sisong/zlib.git ../zlib | ||
git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate | ||
- name: makeNoldef | ||
run: | | ||
make LDEF=0 -j | ||
make LDEF=0 clean | ||
- name: makeAll | ||
run: | | ||
git clone --depth=1 https://github.com/sisong/zlib.git ../zlib | ||
git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate | ||
make -j | ||
make clean | ||
- name: makeByBz2Code | ||
run: | | ||
git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2 | ||
make BZIP2=1 -j | ||
clang-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: installClang | ||
run: | | ||
sudo apt-get install -y llvm clang | ||
- name: initAndClone | ||
run: | | ||
git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5 | ||
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma | ||
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd | ||
git clone --depth=1 https://github.com/sisong/zlib.git ../zlib | ||
git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate | ||
- name: makeByClang | ||
run: | | ||
make CL=1 -j | ||
xcode-build: | ||
runs-on: macos-latest | ||
make-build2: | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: initAndClone | ||
- name: makeInit | ||
run: | | ||
git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5 | ||
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma | ||
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd | ||
git clone --depth=1 https://github.com/sisong/zlib.git ../zlib | ||
git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate | ||
- name: buildByXcode | ||
run: | | ||
xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme hdiffz -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin | ||
xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme hpatchz -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin | ||
xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme unitTest -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin | ||
macos-ndk-build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: nttld/[email protected] | ||
with: | ||
ndk-version: r23c | ||
- name: buildByAndroidNDK | ||
run: | | ||
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma | ||
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd | ||
cd ./builds/android_ndk_jni_mk | ||
ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk APP_PLATFORM=android-16 APP_ABI=all | ||
windows-ndk-build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: nttld/[email protected] | ||
with: | ||
ndk-version: r16b | ||
- name: buildByAndroidNDK | ||
run: | | ||
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma | ||
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd | ||
git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2 | ||
cd ./builds/android_ndk_jni_mk | ||
ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk BSD=1 BZIP2=1 | ||
ubuntu-ndk-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: nttld/[email protected] | ||
with: | ||
ndk-version: r16b | ||
- name: buildByAndroidNDK | ||
- name: makeAll | ||
run: | | ||
sudo apt install libncurses5 | ||
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma | ||
git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2 | ||
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd | ||
cd ./builds/android_ndk_jni_mk | ||
ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk BSD=1 BZIP2=1 VCD=1 | ||
vc-build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: microsoft/[email protected] | ||
with: | ||
msbuild-architecture: x64 | ||
- name: initAndClone | ||
make -j | ||
make clean | ||
- name: makeByBz2Code | ||
run: | | ||
git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5 | ||
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma | ||
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd | ||
git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2 | ||
git clone --depth=1 https://github.com/sisong/zlib.git ../zlib | ||
git clone --depth=1 https://github.com/sisong/libdeflate.git ../libdeflate | ||
- name: buildByVC | ||
run: | | ||
msbuild builds/vc/HDiffPatch.sln -t:rebuild -verbosity:diag -property:Configuration=Release | ||
make BZIP2=1 -j | ||
make BZIP2=1 clean |