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 27, 2023
1 parent 5e55f2b commit 9ba912f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ 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
uses: actions/setup-node@v3
with:
node-version: 10.x
node-version: 14.x
- name: Install and build
run: |
npm i -g heta-compiler@latest
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Julia install
uses: julia-actions/setup-julia@v1
with:
version: '1.7'
version: '1.9'
- name: HetaSimulator install
run: |
julia -e 'using Pkg; Pkg.add("HetaSimulator"); Pkg.add("Plots")'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
build:
strategy:
matrix:
node-version: [ 8.x, 10.x, 12.x ]
node-version: [ 14.x, 16.x, 18.x ]
heta-version: [ latest ]
platform: [ ubuntu-latest, windows-latest, macos-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 }}
- run: |
Expand Down
2 changes: 1 addition & 1 deletion julia/run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV["GKSwstype"] = "100"

model = load_jlmodel("../dist/julia/model.jl")

res = Scenario(model; tspan = (0,120)) |> sim
res = Scenario(model, (0,120)) |> sim

plotd = plot(res; vars = [:A, :B])
savefig(plotd, "julia-plot-1.png")
Expand Down
2 changes: 1 addition & 1 deletion platform.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "mini",
"license": "MIT",
"builderVersion": "^0.6.9",
"builderVersion": "^0.7.1",
"options": {
"logLevel": "info"
},
Expand Down

0 comments on commit 9ba912f

Please sign in to comment.