Skip to content

Commit

Permalink
Update nelson version 1.2.0 (#10)
Browse files Browse the repository at this point in the history
* Use Nelson v1.2.0

* update CI packages
  • Loading branch information
Nelson-numerical-software authored Feb 25, 2024
1 parent 9d9f2c6 commit 3901210
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/nelson_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on: [push]
jobs:

ubuntu:
name: Ubuntu-20.04 Focal
runs-on: ubuntu-20.04
name: Ubuntu-22.04 Focal
runs-on: ubuntu-22.04
timeout-minutes: 30

steps:
Expand All @@ -16,7 +16,7 @@ jobs:
sudo snap connect nelson:home
sudo snap connect nelson:removable-media
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: creates artifacts directory
run: |
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
nelson -cli --quiet -e "test_run('module_skeleton', 'benchs', '/home/runner/install/artifacts/benchs_results.xml');quit"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: module_skeleton-github-action-artifacts-linux
path: /home/runner/install/artifacts/
Expand All @@ -52,17 +52,17 @@ jobs:
shell: cmd

steps:
- name: Download Nelson v0.7.2 (win64)
- name: Download Nelson v1.2.0 (win64)
run: |
$null = mkdir c:/install
(new-object net.webclient).DownloadFile("https://github.com/nelson-lang/nelson/releases/download/v0.7.2/Nelson-0.7.2.2774-x86-64.exe", "C:\install\Nelson-x86-64.exe")
(new-object net.webclient).DownloadFile("https://github.com/nelson-lang/nelson/releases/download/v1.2.0/Nelson-1.2.0.3744-x86-64.exe", "C:\install\Nelson-x86-64.exe")
shell: powershell

- name: Install Nelson
run: |
C:/install/Nelson-x86-64.exe /SP- /SILENT /DIR="c:/install/Nelson"
C:/install/Nelson-x86-64.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /DIR="c:/install/Nelson"
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: creates artifacts directory
run: |
Expand All @@ -85,7 +85,7 @@ jobs:
run: |
"c:/install/Nelson/bin/x64/nelson-adv-cli" --noipc --quiet -e "test_run('module_skeleton', 'benchs', 'c:/install/artifacts/benchs_results.xml');quit"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: module_skeleton-github-action-artifacts
path: c:/install/artifacts/
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 4.1.0 (03/03/2023)

- CI uses v1.2.0
- Nelson 1.0.0 required.

# 4.0.0 (03/03/2023)

- CI uses v0.7.2
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"module": "module_skeleton",
"title": "Module skeleton",
"summary": "Skeleton of a valid nelson package",
"version": "4.0.0",
"version": "4.1.0",
"platforms": "all",
"nelson": "<2.0.0",
"builtin": true,
Expand Down

0 comments on commit 3901210

Please sign in to comment.