Skip to content

Commit

Permalink
update compiler version
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Metelkin committed Dec 28, 2023
1 parent 03fa6b9 commit bd0fb00
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 29 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/build-and-share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js 10.x
uses: actions/setup-node@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 10.x
node-version: 16.x
- name: Install and build
run: |
npm i -g heta-compiler@latest
npm ci -g heta-compiler@latest
heta build
- name: Set up R 3.6
uses: r-lib/actions/setup-r@v1
uses: r-lib/actions/setup-r@v2
with:
r-version: '3.6'
- name: Run R code
Expand All @@ -38,11 +38,10 @@ jobs:
- name: Julia install
uses: julia-actions/setup-julia@v1
with:
version: '1.6'
arch: x86
version: '1.9'
- name: HetaSimulator install
run: |
julia -e 'using Pkg; Pkg.add(path="https://github.com/hetalang/HetaSimulator.jl"); Pkg.add("Plots")'
julia -e 'using Pkg; Pkg.add("HetaSimulator"); Pkg.add("Plots")'
pwd
julia ./julia/run.jl
- name: Copy distributive files to dist directory
Expand All @@ -56,9 +55,9 @@ jobs:
tar -zcf ./dist/mrg.tar.gz -C ./dist/mrg .
- name: Deploy to "dist" branch only for "master" and "share" pushes
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/share' ) }}
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: dist # The folder the action should deploy.
CLEAN: true
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
clean: true
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ jobs:
build:
strategy:
matrix:
node-version: [ 8.x ]
node-version: [ 16.x ]
heta-version: [ latest ]
platform: [ ubuntu-latest ]

runs-on: ${{ matrix.platform }}

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install and build
run: |
npm i -g heta-compiler@${{ matrix.heta-version }}
npm ci -g heta-compiler@${{ matrix.heta-version }}
heta -v
heta build
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.0.2

- update compiler version

## 1.0.1

- add HetaSimulator support
Expand Down
5 changes: 2 additions & 3 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"id": "faah-inhibitor",
"title": "Model describing inhibition of FAAH in human",
"notes": "This is Quantitative Systems Pharmacology (QSP) modeling platform describing Fatty Acid Amide Hydrolase inhibition in human.",
"builderVersion": "^0.6.9",
"version": "1.0.1",
"builderVersion": "^0.7.1",
"version": "1.0.2",
"keywords": ["human", "qsp", "faah-inhibitor"],
"homepage": "https://insysbio.github.io/faah-inhibitor/",
"repository": {
Expand All @@ -22,7 +22,6 @@
],
"options": {
"logLevel": "info",
"debuggingMode": false,
"skipExport": false,
"unitsCheck": true
},
Expand Down
16 changes: 8 additions & 8 deletions src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ description @Page { content: "
doi:10.1038/psp.2013.72; published online 15 January 2014.
" };

include ./qsp-units.heta

include ./constants.heta
include ./pk.heta
include ./brain.heta
include ./rob.heta
include ./core.heta
include ./plasma.heta
include ./qsp-units.heta;

include ./constants.heta;
include ./pk.heta;
include ./brain.heta;
include ./rob.heta;
include ./core.heta;
include ./plasma.heta;

// === TRANSPORT ===
// From MEC to Plasma, Brain to MEC
Expand Down

0 comments on commit bd0fb00

Please sign in to comment.