Skip to content

Adapt DPsim to deploy it in Mybinder #2535

Adapt DPsim to deploy it in Mybinder

Adapt DPsim to deploy it in Mybinder #2535

name: Build & Test Windows
on:
push:
pull_request:
types: [opened, synchronize, reopened]
## 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