Skip to content

Commit

Permalink
#3558 cover Windows wheel job with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Nov 27, 2023
1 parent 8b2cb45 commit 4a0bbd3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ jobs:
env:
CIBW_ENVIRONMENT: 'PYBAMM_USE_VCPKG=ON VCPKG_ROOT_DIR=C:\vcpkg VCPKG_DEFAULT_TRIPLET=x64-windows-static-md VCPKG_FEATURE_FLAGS=manifests,registries CMAKE_GENERATOR="Visual Studio 17 2022" CMAKE_GENERATOR_PLATFORM=x64'
CIBW_ARCHS: "AMD64"
CIBW_BEFORE_BUILD: python -m pip install setuptools wheel
CIBW_BEFORE_BUILD: python -m pip install setuptools wheel # skip CasADi and CMake
CIBW_TEST_COMMAND: python -c "import pybamm; pybamm.IDAKLUSolver()"

- name: Upload Windows wheels
uses: actions/upload-artifact@v3
Expand All @@ -76,7 +77,7 @@ jobs:
if-no-files-found: error

build_macos_and_linux_wheels:
name: Wheels ${{ matrix.os }}
name: Wheels (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down

0 comments on commit 4a0bbd3

Please sign in to comment.