Skip to content

Commit c19f27d

Browse files
authored
Updating versions (#431)
- Adding new OpenModelica relases for 1.25 - Updating Node packages - Updating tests to expext latest version to be 1.25 - Bump package version to 1.0.3 - Updated devcontainer to Ubuntu Noble - Update test.yml CI to install 1.25
1 parent 6410963 commit c19f27d

File tree

10 files changed

+71929
-64604
lines changed

10 files changed

+71929
-64604
lines changed

.devcontainer/devcontainer.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
33
{
4-
"name": "Ubuntu",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/base:jammy",
7-
"features": {
8-
"ghcr.io/devcontainers-contrib/features/typescript:2": {}
9-
}
10-
// Features to add to the dev container. More info: https://containers.dev/features.
11-
// "features": {},
4+
"name": "Ubuntu",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:noble",
7+
"features": {
8+
"ghcr.io/devcontainers-extra/features/typescript:2": {}
9+
}
10+
// Features to add to the dev container. More info: https://containers.dev/features.
11+
// "features": {},
1212

13-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
14-
// "forwardPorts": [],
13+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
14+
// "forwardPorts": [],
1515

16-
// Use 'postCreateCommand' to run commands after the container is created.
17-
// "postCreateCommand": "uname -a",
16+
// Use 'postCreateCommand' to run commands after the container is created.
17+
// "postCreateCommand": "uname -a",
1818

19-
// Configure tool-specific properties.
20-
// "customizations": {},
19+
// Configure tool-specific properties.
20+
// "customizations": {},
2121

22-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
23-
// "remoteUser": "root"
22+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
23+
// "remoteUser": "root"
2424
}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
os: [ubuntu-latest, windows-latest]
26-
version: [stable, '1.23']
26+
version: [stable, '1.25']
2727
runs-on: ${{ matrix.os }}
2828
steps:
2929
- uses: actions/checkout@v4

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ Afterwards the OpenModelica Package manager installs Modelica libraries.
4040
| nightly | Linux | amd64, arm64, armhf, i386 | ✔️ |
4141
| stable | Linux | amd64, arm64, armhf, i386 | ✔️ |
4242
| release | Linux | amd64, arm64, armhf, i386 | ✔️ |
43+
| 1.25.3 | Linux | amd64, arm64, armhf, i386 | ✔️ |
44+
| 1.25.2 | Linux | amd64, arm64, armhf, i386 | ✔️ |
45+
| 1.25.1 | Linux | amd64, arm64, armhf, i386 | ✔️ |
46+
| 1.25.0 | Linux | amd64, arm64, armhf, i386 | ✔️ |
4347
| 1.24.5 | Linux | amd64, arm64, armhf, i386 | ✔️ |
4448
| 1.23.1 | Linux | amd64, arm64, armhf, i386 | ✔️ |
4549
| 1.23.0 | Linux | amd64, arm64, armhf, i386 | ✔️ |
@@ -75,6 +79,10 @@ Afterwards the OpenModelica Package manager installs Modelica libraries.
7579
| nightly | Windows | 64bit | ✔️ |
7680
| stable | Windows | 64bit | ✔️ |
7781
| release | Windows | 64bit | ✔️ |
82+
| 1.25.3 | Windows | 64bit | ✔️ |
83+
| 1.25.2 | Windows | 64bit | ✔️ |
84+
| 1.25.1 | Windows | 64bit | ✔️ |
85+
| 1.25.0 | Windows | 64bit | ✔️ |
7886
| 1.24.5 | Windows | 64bit | ✔️ |
7987
| 1.23.1 | Windows | 64bit | ✔️ |
8088
| 1.23.0 | Windows | 64bit | ✔️ |
@@ -102,7 +110,7 @@ Not available.
102110
```yaml
103111
- uses: OpenModelica/[email protected]
104112
with:
105-
version: '1.24.5'
113+
version: '1.25.3'
106114
packages: |
107115
'omc'
108116
'omsimulator'

__tests__/installer.test.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function linuxTests(): void {
4242
let outVer: installer.VersionType
4343

4444
outVer = installer.getOMVersion('1')
45-
expect(outVer.version).toEqual('1.24.5')
45+
expect(outVer.version).toEqual('1.25.3')
4646

4747
outVer = installer.getOMVersion('1.18')
4848
expect(outVer.version).toEqual('1.18.1')
@@ -64,13 +64,13 @@ function linuxTests(): void {
6464
})
6565

6666
test(
67-
'Install 64 bit OpenModelica release 1.24.3',
67+
'Install 64 bit OpenModelica release 1.25.3',
6868
async () => {
6969
await purgeOMC()
70-
const version = installer.getOMVersion('1.24.3')
70+
const version = installer.getOMVersion('1.25.3')
7171
await installer.installOM(['omc'], version, '64')
7272
const resVer = await installer.showVersion('omc')
73-
expect(resVer).toEqual('1.24.3')
73+
expect(resVer).toEqual('1.25.3')
7474
},
7575
10 * 60000
7676
)
@@ -119,19 +119,19 @@ function linuxTests(): void {
119119
const version = installer.getOMVersion('release')
120120
await installer.installOM(['omc'], version, '64')
121121
const resVer = await installer.showVersion('omc')
122-
expect(resVer).toContain('1.24.')
122+
expect(resVer).toContain('1.25.')
123123
},
124124
10 * 60000
125125
)
126126

127127
test(
128-
'Install 64 bit OpenModelica 1.24',
128+
'Install 64 bit OpenModelica 1.25',
129129
async () => {
130130
await purgeOMC()
131-
const version = installer.getOMVersion('1.24')
131+
const version = installer.getOMVersion('1.25')
132132
await installer.installOM(['omc'], version, '64')
133133
const resVer = await installer.showVersion('omc')
134-
expect(resVer).toContain('1.24.5')
134+
expect(resVer).toContain('1.25.3')
135135
},
136136
10 * 60000
137137
)
@@ -144,7 +144,7 @@ function linuxTests(): void {
144144
const packages = ['omc', 'omsimulator']
145145
await installer.installOM(packages, version, '64')
146146
const resVer = await installer.showVersion('OMSimulator')
147-
expect(resVer).toContain('2.1.2')
147+
expect(resVer).toContain('2.1.3')
148148
},
149149
10 * 60000
150150
)
@@ -162,13 +162,13 @@ function linuxTests(): void {
162162

163163
function windowsTests(): void {
164164
test(
165-
'Install 64 bit OpenModelica release 1.19.2',
165+
'Install 64 bit OpenModelica release 1.25.3',
166166
async () => {
167-
const version = installer.getOMVersion('1.19.2')
168-
expect(version.version).toEqual('1.19.2')
167+
const version = installer.getOMVersion('1.25.3')
168+
expect(version.version).toEqual('1.25.3')
169169
await installer.installOM(['omc'], version, '64')
170170
const resVer = await installer.showVersion('omc')
171-
expect(resVer).toContain('1.19.2')
171+
expect(resVer).toContain('1.25.3')
172172
},
173173
10 * 60000
174174
)

dist/OSMC-License.txt

Lines changed: 40 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)