From a70d6699407268a8c3d1f96a067d2a9b5e3a5004 Mon Sep 17 00:00:00 2001 From: cuzhucuncheng Date: Tue, 13 Sep 2022 11:35:18 -0700 Subject: [PATCH] disable windows build for now --- .github/workflows/ci.yaml | 78 +++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 19eef4ab..3d56e527 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -85,46 +85,46 @@ jobs: ctest -C Release -V -j 4 - build_windows: - name: Build-Test Windows - strategy: - fail-fast: false - matrix: - os: [windows-latest] - runs-on: ${{ matrix.os }} - defaults: - run: - shell: bash - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - submodules: recursive - - - name: Setup python libs - id: pyexe - run: | - python --version - python -m pip install pytest - py_exe_path=$(which python) - echo ::set-output name=path::$py_exe_path - - - name: Restore from cache and install vcpkg - # Download and build vcpkg, without installing any port. If content is cached already, it is a no-op. - uses: lukka/run-vcpkg@v6 - with: - vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092 - setupOnly: true + # build_windows: + # name: Build-Test Windows + # strategy: + # fail-fast: false + # matrix: + # os: [windows-latest] + # runs-on: ${{ matrix.os }} + # defaults: + # run: + # shell: bash + # steps: + # - uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # submodules: recursive + + # - name: Setup python libs + # id: pyexe + # run: | + # python --version + # python -m pip install pytest + # py_exe_path=$(which python) + # echo ::set-output name=path::$py_exe_path + + # - name: Restore from cache and install vcpkg + # # Download and build vcpkg, without installing any port. If content is cached already, it is a no-op. + # uses: lukka/run-vcpkg@v6 + # with: + # vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092 + # setupOnly: true - - name: Download libraries - run: $VCPKG_ROOT/vcpkg install netcdf-c:x64-windows netcdf-cxx4:x64-windows eigen3:x64-windows - - - name: Build and test - run: | - mkdir -p build && cd build; - cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_PYMEM3DG=ON -DSUITESPARSE=OFF -DWITH_NETCDF=ON -DPython_EXECUTABLE:FILEPATH=${{ steps.pyexe.outputs.path }} -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" .. - cmake --build . --config Release -j 4 - ctest -C Release -V -j 4 + # - name: Download libraries + # run: $VCPKG_ROOT/vcpkg install netcdf-c:x64-windows netcdf-cxx4:x64-windows eigen3:x64-windows + + # - name: Build and test + # run: | + # mkdir -p build && cd build; + # cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_PYMEM3DG=ON -DSUITESPARSE=OFF -DWITH_NETCDF=ON -DPython_EXECUTABLE:FILEPATH=${{ steps.pyexe.outputs.path }} -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" .. + # cmake --build . --config Release -j 4 + # ctest -C Release -V -j 4 deploy_documentation: