Skip to content

Commit

Permalink
use docker
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Jun 18, 2024
1 parent 450f2b3 commit 1cdf691
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-and-share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: insysbio/hetasimulator:latest

steps:
- name: Checkout
Expand All @@ -35,13 +37,13 @@ jobs:
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: Julia install
# uses: julia-actions/setup-julia@v2
# with:
# version: '1.10'
- name: HetaSimulator run
run: |
julia -e 'using Pkg; Pkg.add("HetaSimulator"); Pkg.add("Plots")'
# julia -e 'using Pkg; Pkg.add("HetaSimulator"); Pkg.add("Plots")'
pwd
julia ./julia/run.jl
- name: Copy other files to dist
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[![Heta project](https://img.shields.io/badge/%CD%B1-Heta_project-blue)](https://hetalang.github.io/)
[![GH Build](https://github.com/insysbio/heta-case-mini/workflows/Build/badge.svg)](https://github.com/insysbio/heta-case-mini/actions?query=workflow%3ABuild)
[![Build and Share](https://github.com/insysbio/heta-case-mini/workflows/Build%20and%20Share/badge.svg)](https://github.com/insysbio/heta-case-mini/actions?query=workflow%3A%22Build+and+Share%22)
[![Travis](https://travis-ci.com/insysbio/heta-case-mini.svg?branch=master)](https://travis-ci.com/insysbio/heta-case-mini)
[![gh-pages](https://img.shields.io/badge/gh.pages-ready-blue.svg)](https://insysbio.github.io/heta-case-mini/)
[![gh-pages](https://img.shields.io/badge/SbmlViewer-ready-blue.svg)](http://sv.insysbio.com/online/?https://insysbio.github.io/heta-case-mini/sbml.xml)
[![GitHub license](https://img.shields.io/github/license/insysbio/heta-case-mini.svg)](https://github.com/insysbio/heta-case-mini/blob/master/LICENSE)
Expand All @@ -14,7 +13,7 @@ This repository is a demo example of QSP platfrom developed with Heta compiler.

## Continuous integration solutions

The repository includes the example of settings for CI/CD. See files: `.github/workflows/build.yml`, `.github/workflows/build-and-share.yml` for GH Actions, `.travis.yml` for Travis (temporally disabled).
The repository includes the example of settings for CI/CD. See files: `.github/workflows/build.yml`, `.github/workflows/build-and-share.yml` for GH Actions, `.travis.yml` for Travis, `apveyor.yml` for Appveyor.

The result of integration can be found on GitHub Pages <https://insysbio.github.io/heta-case-mini/>

Expand All @@ -37,7 +36,7 @@ The result of integration can be found on GitHub Pages <https://insysbio.github.

`/static` : files required for creation github pages.

`/.travis.yml` : settings for CI/CD in <https://travis-ci.org/>
`/.travis.yml` : settings for CI/CD in <https://travis-ci.org/> (currently not used)

`/appveyor.yml` : settings for CI/CD in <https://www.appveyor.com/> (currently not used)

Expand Down

0 comments on commit 1cdf691

Please sign in to comment.