Skip to content

Commit

Permalink
disable windows build for now
Browse files Browse the repository at this point in the history
  • Loading branch information
CunchengZhu committed Sep 13, 2022
1 parent 42a2b72 commit a70d669
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a70d669

Please # to comment.