2
2
// usually the newest version will be loaded instead if you remove them!
3
3
// SO: first remove them from configs/conf* then remove them from here.
4
4
updatePackageIndex();
5
+ if not installPackage(Modelica, "3.1.0", exactMatch=true) then
6
+ print("Modelica 3.1.0 " + getErrorString() + "\n");
7
+ exit(1);
8
+ end if;
5
9
if not installPackage(Modelica, "4.1.0-beta.om", exactMatch=true) then
6
10
print("Modelica 4.1.0-beta.om" + getErrorString() + "\n");
7
11
exit(1);
@@ -10,17 +14,13 @@ if not installPackage(ModelicaServices, "4.1.0-beta.om", exactMatch=true) then
10
14
print("ModelicaServices 4.1.0-beta.om" + getErrorString() + "\n");
11
15
exit(1);
12
16
end if;
13
- if not installPackage(ModelicaServices, "trunk", exactMatch=true) then
14
- print("ModelicaServices trunk" + getErrorString() + "\n");
15
- exit(1);
16
- end if;
17
- for v in {"3.2.3","4.1.0-beta.om"} loop
17
+ for v in {"3.2.1","3.2.2","3.2.3","4.0.0","4.1.0-beta.om","trunk"} loop
18
18
if not installPackage(ModelicaTest, v, exactMatch=true) then
19
19
print("ModelicaTest " + v + " " + getErrorString() + "\n");
20
20
exit(1);
21
21
end if;
22
22
end for;
23
- for v in {"maint.11.x", "maint.12.x", "master"} loop
23
+ for v in {"1.6", "3.0.0", "maint.7.0.x", "maint.8.1.x", "maint.9.1.x", "maint.10.0.x", " maint.11.x", "maint.12.x", "master"} loop
24
24
if not installPackage(Buildings, v) then
25
25
print("Buildings " + v + " " + getErrorString() + "\n");
26
26
exit(1);
@@ -90,11 +90,9 @@ end for;
90
90
91
91
print("Did install:" + getErrorString() + "\n");
92
92
93
- /* do not upgrade as it will reinstall libs!
94
93
if not upgradeInstalledPackages() then
95
94
print("Failed upgrade:\n" + getErrorString() + "\n");
96
95
exit(1);
97
96
end if;
98
97
99
98
print("Did upgrade:\n" + getErrorString() + "\n");
100
- */
0 commit comments