disable PK_BUILD_MODULE_LZ4 by default

This commit is contained in:
blueloveTH 2025-05-15 15:51:22 +08:00
parent 110a9ae591
commit 224c5c6ec9
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ jobs:
shell: bash shell: bash
run: | run: |
mkdir -p output/x86_64 mkdir -p output/x86_64
python cmake_build.py python cmake_build.py -DPK_BUILD_MODULE_LZ4=ON
cp main.exe output/x86_64 cp main.exe output/x86_64
cp pocketpy.dll output/x86_64 cp pocketpy.dll output/x86_64
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
@ -70,7 +70,7 @@ jobs:
run: | run: |
python scripts/check_pragma_once.py include python scripts/check_pragma_once.py include
mkdir -p output/x86_64 mkdir -p output/x86_64
python cmake_build.py python cmake_build.py -DPK_BUILD_MODULE_LZ4=ON
python scripts/run_tests.py python scripts/run_tests.py
cp main output/x86_64 cp main output/x86_64
cp libpocketpy.so output/x86_64 cp libpocketpy.so output/x86_64
@ -114,7 +114,7 @@ jobs:
submodules: true submodules: true
- name: Compile and Test - name: Compile and Test
run: | run: |
python cmake_build.py python cmake_build.py -DPK_BUILD_MODULE_LZ4=ON
python scripts/run_tests.py python scripts/run_tests.py
- name: Benchmark - name: Benchmark
run: python scripts/run_tests.py benchmark run: python scripts/run_tests.py benchmark

View File

@ -20,7 +20,7 @@ assert config in ['Debug', 'Release', 'RelWithDebInfo']
os.chdir("build") os.chdir("build")
code = os.system(f"cmake .. -DPK_ENABLE_OS=ON -DPK_BUILD_MODULE_LZ4=ON -DCMAKE_BUILD_TYPE={config} {extra_flags}") code = os.system(f"cmake .. -DPK_ENABLE_OS=ON -DCMAKE_BUILD_TYPE={config} {extra_flags}")
assert code == 0 assert code == 0
code = os.system(f"cmake --build . --config {config} -j 4") code = os.system(f"cmake --build . --config {config} -j 4")
assert code == 0 assert code == 0