Skip to content

Bump urllib3 from 1.26.5 to 1.26.17 in /docs #174

Bump urllib3 from 1.26.5 to 1.26.17 in /docs

Bump urllib3 from 1.26.5 to 1.26.17 in /docs #174

name: Python build (no MPI)
# Triggers the workflow on push or pull request events but only for the master branch
on:
push:
branches: [ master , development ]
pull_request:
branches: [ master , development ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build-ubuntu-conda-gcc"
build-ubuntu-conda-gcc:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.7
- name: Conda info, list, pybind install and activate
shell: bash -l {0}
run: |
conda info
conda list
conda install -y pybind11
conda activate /usr/share/miniconda/envs/test
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: configure
shell: bash -l {0}
run: mkdir build && cd build && which python && whereis python && CXX=g++ cmake PYTHON_EXECUTABLE=/usr/share/miniconda/envs/test/bin/python -DIqsMPI=OFF -DIqsPython=ON -DIqsUtest=OFF ..
- name: build
run: cmake --build build --target intelqs_py
- name: unit test
run: cd unit_test && which python && whereis python && ls ../build/lib && /usr/share/miniconda/envs/test/bin/python import_iqs.py