Skip to content

Commit

Permalink
use docker
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Jul 19, 2024
1 parent 104aead commit 610687c
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/build-and-share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,25 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: insysbio/qsp-platforms-builder:latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install and build
run: |
npm i -g heta-compiler@0.8.1
npm i -g heta-compiler@0.8.4
heta build
- name: Set up R 3.6
uses: r-lib/actions/setup-r@v2
with:
r-version: '3.6'
- name: Run R code
run: |
Rscript -e 'install.packages(c("lattice", "mrgsolve"));'
Rscript ./R/run-mrgsolve.R
- name: Julia install
uses: julia-actions/setup-julia@v2
with:
version: '1.10'
- name: HetaSimulator install
- name: HetaSimulator run
run: |
julia -e 'using Pkg; Pkg.add("HetaSimulator"); Pkg.add("Plots")'
pwd
julia ./julia/run.jl
julia --sysimage=/opt/julia/sysimages/hetasimulator.so ./julia/run.jl
- name: Copy other files to dist
run: |
cp -f ./static/index.md ./dist/
Expand Down

0 comments on commit 610687c

Please sign in to comment.