Skip to content

Commit

Permalink
Merge pull request #68 from swryan/gettext
Browse files Browse the repository at this point in the history
Remove installation of gettext from test workflow
  • Loading branch information
swryan authored Jun 4, 2024
2 parents 1268439 + 370b799 commit 960e668
Showing 1 changed file with 37 additions and 14 deletions.
51 changes: 37 additions & 14 deletions .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
SCIPY: '1.13'
MPICC: 4
PYOPTSPARSE: 'default'
PAROPT: true
# PAROPT: true
SNOPT: 7.7

# test latest versions
Expand Down Expand Up @@ -136,15 +136,15 @@ jobs:
FORCE_BUILD: true

# test baseline versions on MacOS latest (ARM64)
# - NAME: MacOS Baseline on ARM
# OS: macos-latest
# PY: '3.12'
# NUMPY: '1.26'
# SCIPY: '1.13'
# MPI4PY: true
# PYOPTSPARSE: 'default'
# PAROPT: true
# SNOPT: 7.7
- NAME: MacOS Baseline on ARM
OS: macos-latest
PY: '3.12'
NUMPY: '1.26'
SCIPY: '1.13'
BREW: true
MPICC: 4
PYOPTSPARSE: 'default'
SNOPT: 7.7

runs-on: ${{ matrix.OS }}

Expand Down Expand Up @@ -195,7 +195,13 @@ jobs:

- name: Install
run: |
conda install numpy=${{ matrix.NUMPY }} scipy=${{ matrix.SCIPY }} compilers cython swig -q -y
conda install numpy=${{ matrix.NUMPY }} scipy=${{ matrix.SCIPY }} -q -y
if [[ "${{ matrix.BREW }}" ]]; then
brew install swig gcc meson
else
conda install compilers cython swig -q -y
fi
echo "============================================================="
echo "Install build_pyoptsparse"
Expand All @@ -209,7 +215,11 @@ jobs:
echo "Install MPI"
echo "============================================================="
conda install openmpi-mpicc=${{ matrix.MPICC }} mpi4py -q -y
if [[ "${{ matrix.BREW }}" ]]; then
brew install open-mpi mpi4py
else
conda install openmpi-mpicc=${{ matrix.MPICC }} mpi4py -q -y
fi
echo "OMPI_MCA_rmaps_base_oversubscribe=1" >> $GITHUB_ENV
Expand Down Expand Up @@ -289,7 +299,7 @@ jobs:
fi
echo "build_pyoptsparse -v $BRANCH $FORCE_BUILD $PAROPT $SNOPT $NO_IPOPT $LINEAR_SOLVER"
build_pyoptsparse -v $BRANCH $FORCE_BUILD $PAROPT $SNOPT $NO_IPOPT $LINEAR_SOLVER
build_pyoptsparse -v $BRANCH $FORCE_BUILD $PAROPT $SNOPT $NO_IPOPT $LINEAR_SOLVER -d
echo "BRANCH=${BRANCH}" >> $GITHUB_ENV
Expand All @@ -302,6 +312,20 @@ jobs:
echo "============================================================="
cat $f
done
if test -d /private/var/folders; then
for f in $(find /private/var/folders/ -name 'meson-log.txt'); do
echo "============================================================="
echo $f
echo "============================================================="
cat $f
done
for f in $(find /private/var/folders/ -name 'compile.log'); do
echo "============================================================="
echo $f
echo "============================================================="
cat $f
done
fi
# Enable tmate debugging of manually-triggered workflows if the input option was provided
#
Expand Down Expand Up @@ -344,7 +368,6 @@ jobs:
- name: Run tests
run: |
python -m pip install testflo parameterized six
conda install -y -q gettext
echo "============================================================="
echo "Run tests from pyoptsparse repository"
Expand Down

0 comments on commit 960e668

Please sign in to comment.