Skip to content

Adapt Dockerfile for mybinder. #2481

Adapt Dockerfile for mybinder.

Adapt Dockerfile for mybinder. #2481

name: Build & Test Windows
on:
push:
## Build ##
jobs:
windows:
name: Build on Windows
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create build folder
run: |
cd ${{ github.workspace }}
mkdir build
- name: Setup build directory cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/build
key: build-windows-cache-${{ github.ref }}
- name: Build DPsim
run: |
cd ${{ github.workspace }}
cd build
git describe --tags --abbrev=0 --match "v*"
cmake -DWITH_PYBIND=OFF ..
cmake --build . --target dpsim --parallel