Skip to content

Commit

Permalink
use coda for build-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Apr 20, 2023
1 parent ec5f14d commit c13c4f7
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,32 +42,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v2
with:
python-version: '3.11'
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: env
use-mamba: true
- name: Add conda to system path
run: |
echo $CONDA/bin >> $GITHUB_PATH
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.3.2
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-create: false
installer-parallel: true
- name: Install dependencies
run: |
sudo apt-get install -y libglu1-mesa
pip install git+https://github.com/kinnala/scikit-fem.git
poetry install --no-interaction --no-root
source $VENV
pip install --upgrade git+https://github.com/kinnala/scikit-fem.git
- name: Install slepc4py
run: |
source $VENV
export PETSC_CONFIGURE_OPTIONS="--with-scalar-type=complex"
pip install petsc
pip install petsc4py
pip install slepc
pip install slepc4py
mamba install slepc4py=*=complex* -y
- name: Build package
run: |
source $VENV
poetry build

0 comments on commit c13c4f7

Please sign in to comment.