test build on osx #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test build on osx | |
on: | |
workflow_dispatch: | |
jobs: | |
job_1: | |
name: test job | |
runs-on: macos-latest | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
- name: run setup.py | |
run: | | |
#echo "conda: $(which conda)" | |
#echo "CONDA/bin: $CONDA/bin" | |
#ls -l $CONDA/bin | |
#echo "GITHUB_PATH: $GITHUB_PATH" | |
#echo "PATH: $PATH" | |
#echo "python: $(which python)" | |
#echo "python version: $(python --version)" | |
#echo "ONDA/bin/python --version" | |
#$CONDA/bin/python --version | |
#echo "running 'conda search -c conda-forge requests'" | |
#conda search -c conda-forge requests | |
#conda install -c conda-forge -y pyyaml jinja2 ninja | |
#conda install -y requests | |
echo "pip version: $(pip --version)" | |
#echo "pip list:" | |
#pip list <- only certifi 2024.2.2 and pip 24.0 installed | |
echo "check requests" | |
#pip show requests <- throws error if not installed | |
echo "pip install pyyaml jinja2 requests:" | |
pip install pyyaml jinja2 requests | |
echo "brew install ninja" | |
brew install ninja | |
#$CONDA/bin/python setup.py -n all | |
echo "running 'python setup.py -n all'" | |
python setup.py -n all |