forked from sortmerna/sortmerna
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (43 loc) · 1.42 KB
/
build_osx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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: build artifacts
run: |
#echo "conda: $(which conda)"
#echo "CONDA/bin: $CONDA/bin"
#ls -l $CONDA/bin
#echo "GITHUB_PATH: $GITHUB_PATH"
#echo "PATH: $PATH"
#echo "CONDA/bin/python --version"
#$CONDA/bin/python --version
#echo "running 'conda search -c conda-forge requests'"
#conda search -c conda-forge 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
# OK
#echo "pip install pyyaml jinja2 requests:"
#pip install pyyaml jinja2 requests
#echo "brew install ninja"
#brew install ninja
#echo "running 'python setup.py -n all'"
#python setup.py -n all
# ?
echo "SHELL: $SHELL"
echo "running conda shell.bash activate"
conda shell.bash activate
conda install -c conda-forge -y pyyaml jinja2 ninja
conda install -y requests
echo "python: $(which python)"
echo "python version: $(python --version)"
echo "ninja: $(which ninja)"
#$CONDA/bin/python setup.py -n all