Skip to content

Commit 637c5f9

Browse files
committed
Fix bzip2 checkout issue
Fix bzip2 checkout issue
1 parent 06cda90 commit 637c5f9

File tree

2 files changed

+37
-5
lines changed

2 files changed

+37
-5
lines changed

Diff for: .github/workflows/on_push.yml

+27-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,34 @@ jobs:
1414
with:
1515
msbuild-architecture: x64
1616

17-
- name: Build
17+
- name: Building zlib
1818
working-directory: ${{env.GITHUB_WORKSPACE}}
19-
# Add additional options to the MSBuild command line here (like platform or verbosity level).
20-
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
21-
run: all.cmd
19+
run: zlib.cmd
20+
shell: cmd
21+
22+
- name: Building bzip2
23+
working-directory: ${{env.GITHUB_WORKSPACE}}
24+
run: bzip2.cmd
25+
shell: cmd
26+
27+
- name: Building xz
28+
working-directory: ${{env.GITHUB_WORKSPACE}}
29+
run: xz.cmd
30+
shell: cmd
31+
32+
- name: Building zstd
33+
working-directory: ${{env.GITHUB_WORKSPACE}}
34+
run: zstd.cmd
35+
shell: cmd
36+
37+
- name: Building libarchive
38+
working-directory: ${{env.GITHUB_WORKSPACE}}
39+
run: libarchive.cmd
40+
shell: cmd
41+
42+
- name: Print versions
43+
working-directory: ${{env.GITHUB_WORKSPACE}}
44+
run: version.cmd
2245
shell: cmd
2346

2447
- name: Release

Diff for: bzip2.cmd

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1+
set ROOT=%~dp0
2+
echo %ROOT%
3+
14
if not exist bzip2 (
2-
git clone --depth=1 --branch 1ea1ac188ad4b9cb662e3f8314673c63df95a589 https://gitlab.com/bzip2/bzip2.git
5+
git clone https://gitlab.com/bzip2/bzip2.git
6+
)
7+
8+
if exist bzip2 (
9+
cd bzip2
10+
git checkout -b temp 1ea1ac188ad4b9cb662e3f8314673c63df95a589
11+
cd %ROOT%
312
)
413

514
cmake -G "Visual Studio 17 2022" -A x64 --install-prefix %~dp0stage -S bzip2 -B bzip2_build -D CMAKE_BUILD_TYPE="Release" -D ENABLE_LIB_ONLY=ON -D ENABLE_SHARED_LIB=OFF -D ENABLE_STATIC_LIB=ON

0 commit comments

Comments
 (0)