Skip to content

Strongly enforce SLSQP Bounds #328

Strongly enforce SLSQP Bounds

Strongly enforce SLSQP Bounds #328

Workflow file for this run

name: PyOptSparse Windows Actions
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.9
miniforge-variant: Mambaforge
channels: conda-forge,defaults
channel-priority: strict
activate-environment: pyos-build
environment-file: .github/environment.yml
- name: Install libpgmath
shell: bash -l {0}
run: |
conda activate pyos-build
mamba install libpgmath
- name: Build and install pyoptsparse
shell: cmd /C CALL {0}
run: |
call conda activate pyos-build
set IPOPT_DIR=%CONDA_PREFIX%\Library
set CC=cl
set FC=flang
set CC_LD=link
python -m build -n -x .
pip install --no-deps --no-index --find-links dist pyoptsparse
- name: Run tests
shell: bash -l {0}
run: |
conda activate pyos-build
cd tests
testflo --pre_announce -v -n 1 .