From c538b7a92de27dea44dfb95fe5fbe1bcfa9bb316 Mon Sep 17 00:00:00 2001 From: Siyuan Ren Date: Thu, 18 Apr 2024 11:04:40 +0800 Subject: [PATCH] Use debug type for CI --- .github/workflows/ccpp.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 7052334..fa273c2 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -3,7 +3,6 @@ name: C/C++ CI on: pull_request: push: - tags-ignore: '**' env: PYTHONUTF8: 1 @@ -30,7 +29,7 @@ jobs: token: ${{ github.token }} github-binarycache: true - name: build-test - run: python3 build.py --enable_unit_test --enable_integration_test --vcpkg_root=${{ github.workspace }}/vcpkg --build_root=./build --cmake_defines CMAKE_BUILD_TYPE=Debug + run: python3 build.py --enable_unit_test --enable_integration_test --vcpkg_root=${{ github.workspace }}/vcpkg --build_root=./build --build_type Debug - name: upload uses: actions/upload-artifact@v1 with: @@ -61,7 +60,7 @@ jobs: cache-key: macos-12-x64 github-binarycache: true - name: build - run: python3 build.py --enable_unit_test --vcpkg_root=${{ github.workspace }}/vcpkg --triplet=x64-osx --build_root=./build --cmake_defines CMAKE_BUILD_TYPE=Debug + run: python3 build.py --enable_unit_test --vcpkg_root=${{ github.workspace }}/vcpkg --triplet=x64-osx --build_root=./build --build_type Debug - name: upload uses: actions/upload-artifact@v1 with: @@ -92,7 +91,7 @@ jobs: cache-key: macos-12-arm64 github-binarycache: true - name: build - run: python3 build.py --vcpkg_root=${{ github.workspace }}/vcpkg --triplet=arm64-osx --build_root=./build --cmake_defines CMAKE_OSX_ARCHITECTURES=arm64 CMAKE_BUILD_TYPE=Debug + run: python3 build.py --vcpkg_root=${{ github.workspace }}/vcpkg --triplet=arm64-osx --build_root=./build --cmake_defines CMAKE_OSX_ARCHITECTURES=arm64 --build_type Debug - name: upload uses: actions/upload-artifact@v1 with: @@ -121,7 +120,7 @@ jobs: cache-key: windows-latest github-binarycache: true - name: build-test - run: python3 build.py --clang_cl --enable_unit_test --enable_integration_test --vcpkg_root=${{ github.workspace }}/vcpkg --triplet=x64-windows-static-md --build_root=./build --cmake_defines CMAKE_BUILD_TYPE=Debug + run: python3 build.py --clang_cl --enable_unit_test --enable_integration_test --vcpkg_root=${{ github.workspace }}/vcpkg --triplet=x64-windows-static-md --build_root=./build --build_type Debug - name: upload uses: actions/upload-artifact@v1 with: