-
Notifications
You must be signed in to change notification settings - Fork 4
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 #299 from ICB-DCM/feature_298_amici_update
Update AMICI to 0.11.8
- Loading branch information
Showing
272 changed files
with
14,550 additions
and
12,719 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,30 @@ | ||
name: Deploy Branch | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
sdist: | ||
name: Deploy Python Source Distribution | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 20 | ||
|
||
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV | ||
- run: echo "SWIG=${AMICI_DIR}/ThirdParty/swig-4.0.1/install/bin/swig" >> $GITHUB_ENV | ||
|
||
- name: Build swig4 | ||
run: | | ||
sudo scripts/downloadAndBuildSwig.sh | ||
- name: Create AMICI sdist | ||
run: | | ||
scripts/buildSdist.sh | ||
- name: "Upload artifact: sdist" | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: sdist | ||
path: python/sdist/dist |
23 changes: 17 additions & 6 deletions
23
...CI/.github/workflows/deploy_dockerhub.yml → ...CI/.github/workflows/deploy_protected.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Deploy | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
pypi: | ||
name: Deploy PyPI | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 20 | ||
|
||
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV | ||
- run: echo "SWIG=${AMICI_DIR}/ThirdParty/swig-4.0.1/install/bin/swig" >> $GITHUB_ENV | ||
|
||
- name: Build swig4 | ||
run: | | ||
sudo scripts/downloadAndBuildSwig.sh | ||
- name: sdist | ||
run: | | ||
scripts/buildSdist.sh | ||
- name: Publish a Python distribution to PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_password }} | ||
packages_dir: python/sdist/dist | ||
|
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.