-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1187 from ICB-DCM/release_0_11_4
Release 0.11.4
- Loading branch information
Showing
37 changed files
with
465 additions
and
477 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Deploy Branch | ||
on: [push] | ||
jobs: | ||
dockerhub: | ||
# https://github.com/marketplace/actions/publish-docker | ||
name: Deploy Dockerhub | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- run: git archive -o docker/amici.tar.gz --format=tar.gz HEAD | ||
- name: Publish to Registry | ||
uses: elgohr/[email protected] | ||
with: | ||
name: dweindl/amici | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
workdir: docker/ | ||
dockerfile: Dockerfile | ||
tag_names: true | ||
|
||
sdist: | ||
name: Deploy Python Source Distribution | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 20 | ||
|
||
- name: apt | ||
run: | | ||
sudo apt-get update \ | ||
&& sudo apt-get install -y swig3.0 | ||
- name: pip | ||
run: | | ||
pip3 install --upgrade --user wheel \ | ||
&& pip3 install --upgrade --user setuptools | ||
- name: Create AMICI sdist | ||
run: | | ||
cd python/sdist && /usr/bin/python3 setup.py sdist | ||
- name: "Upload artifact: sdist" | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: sdist | ||
path: python/sdist/dist |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Deploy | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
pages: | ||
name: Deploy GH-Pages | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- run: git fetch --prune --unshallow | ||
|
||
- run: echo "::set-env name=AMICI_DIR::$(pwd)" | ||
|
||
- name: apt | ||
run: | | ||
sudo apt-get update \ | ||
&& sudo apt-get install -y \ | ||
bison \ | ||
ragel \ | ||
graphviz \ | ||
texlive-latex-extra | ||
- name: Build doxygen | ||
run: | | ||
sudo scripts/downloadAndBuildDoxygen.sh | ||
- name: Run doxygen | ||
run: | | ||
scripts/run-doxygen.sh | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages # The branch the action should deploy to. | ||
FOLDER: doc # The folder the action should deploy. | ||
|
||
pypi: | ||
name: Deploy PyPI | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 20 | ||
|
||
- name: apt | ||
run: | | ||
sudo apt-get update \ | ||
&& sudo apt-get install -y swig3.0 | ||
- name: pip | ||
run: | | ||
pip3 install --upgrade --user wheel \ | ||
&& pip3 install --upgrade --user setuptools | ||
- name: Create AMICI sdist | ||
run: | | ||
cd python/sdist && python3 setup.py sdist | ||
- name: Check build | ||
run: | | ||
ls ./build/python | ||
- name: Publish a Python distribution to PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_password }} | ||
packages_dir: ./build/python | ||
|
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.