1
0

fix: fix github action build error

This commit is contained in:
2026-02-03 16:47:23 +08:00
parent 37904fd5a4
commit 4985c6d3d0
11 changed files with 30 additions and 20 deletions

View File

@@ -16,6 +16,3 @@ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23 -DZLIB_BUILD_EXAMPLES=O
cmake --build .
cmake --install .
cd ..
# Back to root directory
cd ..

View File

@@ -16,6 +16,3 @@ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23 -DZLIB_BUILD_EXAMPLES=O
cmake --build .
cmake --install .
cd ..
# Back to root directory
cd ..

View File

@@ -15,6 +15,3 @@ cmake -A x64 -DCMAKE_CXX_STANDARD=23 -DZLIB_BUILD_EXAMPLES=OFF -DCMAKE_INSTALL_P
cmake --build . --config Release
cmake --install . --config Release
CD ..
:: Back to root directory
CD ..

View File

@@ -63,7 +63,7 @@ jobs:
name: LibCmo-linux-build
path: bin/install/*
retention-days: 30
- name: Upload Built ependencies
- name: Upload Built Dependencies
uses: actions/upload-artifact@v4
with:
name: LibCmo-linux-dep

View File

@@ -58,9 +58,9 @@ jobs:
name: LibCmo-macos-build
path: bin/install/*
retention-days: 30
- name: Upload Built ependencies
- name: Upload Built Dependencies
uses: actions/upload-artifact@v4
with:
name: LibCmo-linux-dep
name: LibCmo-macos-dep
path: extern/zlib/install/*
retention-days: 30

View File

@@ -38,8 +38,8 @@ jobs:
- name: Build ZLIB
shell: cmd
run: |
CD extern/zlib
..\..\.github\scripts\zlib\windows.bat
CD extern\zlib
CALL ..\..\.github\scripts\zlib\windows.bat
ECHO SET ZLIB_ROOT=%ZLIB_ROOT% >> ..\envs.bat
CD ..\..
- name: Fetch STB
@@ -51,8 +51,8 @@ jobs:
- name: Build STB
shell: cmd
run: |
CD extern/stb
..\..\.github\scripts\stb\windows.bat
CD extern\stb
CALL ..\..\.github\scripts\stb\windows.bat
ECHO SET STB_ROOT=%STB_ROOT% >> ..\envs.bat
CD ..\..
- name: Build LibCmo