Skip to content
Snippets Groups Projects
Commit 6de376f8 authored by Stefan Possanner's avatar Stefan Possanner
Browse files

Fix ci

parent c2ca2258
Branches
Tags
1 merge request!13Fix ci
Pipeline #165857 passed
......@@ -38,6 +38,10 @@ stages:
# => Since we only have one job, and GitLab Pages requires the job to be called `pages` for it to work, we now call this job `pages`.
install_and_test:
stage: install_and_test
rules:
- if: $CI_COMMIT_TAG
when: never
- if: $CI_COMMIT_REF_PROTECTED == "false" && $CI_PIPELINE_SOURCE == "push"
before_script: # Overrides global `before_script`.
- echo "Hello, $GITLAB_USER_LOGIN!"
- python -V # Print out python version for debugging.
......@@ -75,7 +79,11 @@ deploy:
- if: $CI_COMMIT_TAG
when: never
- if: $CI_COMMIT_REF_NAME == "master"
needs: ["install_and_test"]
before_script:
- apt-get -qq update && apt-get -qq install -y gcc gfortran libblas-dev liblapack-dev libopenmpi-dev openmpi-bin
- pip install -U pip build twine
script:
- python -m build
- ls -lah dist
- twine upload dist/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment