Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ivborissov committed Aug 31, 2020
2 parents 155427e + 22f2e4a commit 5033994
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 66,935 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-simulate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
platform: [ ubuntu-latest ]

runs-on: [self-hosted,Julia] # ${{ matrix.platform }}

timeout-minutes: 1440
defaults:
run:
shell: bash

steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -38,7 +39,6 @@ jobs:
npm i -g https://github.com/insysbio/heta-compiler.git
- run: |
heta build
heta_version=`heta -v`
#- name: Setup Julia environment (disabled for self-hosted server)
# uses: julia-actions/[email protected]
# with:
Expand All @@ -48,7 +48,7 @@ jobs:
- name: SimSolver installation
run: julia -e 'using Pkg;Pkg.activate(".");Pkg.add(url="https://${{ secrets.SIMSOLVER_GITLAB_TOKEN }}@gitlab.insysbio.com/dev-group/simsolver", rev="dev");Pkg.build()'
- name: Run Julia simulations
run: julia ./run.jl $heta_version
run: julia ./run.jl `heta -v`
- name: Copy files to "static"
run: |
mkdir -p ./result/cases/output
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/copy-visualization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Copy results (TEMPORAL)
run: |
mkdir -p ./static/cases/output
cp -rf ./cases/output/*.png ./static/cases/output/ | true
cp -f ./results.json ./static/ | true
#- name: Copy results (TEMPORAL)
# run: |
# mkdir -p ./static/cases/output
# cp -rf ./cases/output/*.png ./static/cases/output/ | true
# cp -f ./results.json ./static/ | true
- name: Deploy to "result" branch only for "master" and "*-result" pushes
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
/cases/semantic/*/output.json
/cases/semantic/*/julia
/cases/output/*.csv
#/cases/output/*.png
/cases/output/*.png
/build.log
#/results.json
/results.json

/cases/semantic/julia
/cases/semantic/json.json
Loading

0 comments on commit 5033994

Please sign in to comment.