We planned to upgrade GitLab and Mattermost to the latest version this Friday morning (early). You may experience some downtime!

Commit b8c197af authored by Bas Lijnse's avatar Bas Lijnse

Merge branch 'use-cpm-ci' into 'master'

Use cpm for ci, run the testing tool in Tools, compile all prj's

See merge request !161
parents 4e9b2837 ad05adf8
Pipeline #12125 passed with stage
in 2 minutes and 23 seconds
......@@ -2,15 +2,15 @@ Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/main.exe
Exec: {Project}/TheTaxMan.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 524288000
StackSize: 10485760
HeapSize: 167772160
StackSize: 1048576
ExtraMemory: 81920
IntialHeapSize: 8388608
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
......@@ -23,6 +23,8 @@ Global
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
DescExL: False
Output
Output: ShowConstructors
Font: Courier
......@@ -42,16 +44,16 @@ Global
Precompile:
Postlink:
MainModule
Name: main
Name: TheTaxMan
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: NoTypes
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReadableABC: True
ReuseUniqueNodes: True
Fusion: False
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/LeafletMapExample
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 167772160
StackSize: 1048576
ExtraMemory: 81920
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: False
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
Font: Courier
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Precompile:
Postlink:
MainModule
Name: LeafletMapExample
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: True
ReuseUniqueNodes: True
Fusion: False
Version: 1.4
Global
ProjectRoot: .
ProjectRoot: ...
Target: iTasks
Exec: {Project}\Ligretto.exe
Exec: {Project}/Games/Ligretto/Ligretto.exe
CodeGen
CheckStacks: False
CheckIndexes: True
......@@ -24,6 +24,7 @@ Global
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
......@@ -40,14 +41,14 @@ Global
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Path: {Application}\Examples\iTasks\Games
Path: {Application}\Examples\iTasks\Graphics
Path: {Project}*Games*Ligretto
Path: {Project}*Games
Path: {Project}*Graphics
Precompile:
Postlink:
MainModule
Name: Ligretto
Dir: {Project}
Dir: {Project}*Games*Ligretto
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
......
Version: 1.4
Global
ProjectRoot: ...
Target: iTasks
Exec: {Project}/Games/Trax/Trax.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 134217728
StackSize: 512000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: False
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}*Games*Trax
Path: {Project}*Games
Precompile:
Postlink:
MainModule
Name: Trax
Dir: {Project}*Games*Trax
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
#!/bin/bash
set -e
trap 'mv -v /opt/clean/etc/IDEEnvs{.bak,}' EXIT
cp -v /opt/clean/etc/IDEEnvs{,.bak}
sed -i "s|{Application}/lib/iTasks|$(pwd)/Libraries|g" /opt/clean/etc/IDEEnvs
CLMFLAGS="-dynamics -h 200m -s 10m"
CLMLIBS="-IL Dynamics -IL GraphCopy -IL Sapl -IL TCPIP -IL Platform -IL Platform/Deprecated/StdLib -I $(pwd)/Libraries"
CLM="clm $CLMFLAGS $CLMLIBS"
#Try to compile everything
find . -name "*.prj.default" | while read f; do
mv "$f" "$(dirname $f)/$(basename -s .prj.default $f)".prj
done
find . -name "*.prj" | xargs dirname | sort -u | xargs -I{} sh -c "cd {}; cpm make"
( cd Examples; $CLM BasicAPIExamples; )
( cd Examples/Games/Ligretto; $CLM -I .. -I ../../Graphics Ligretto; )
( cd Examples/Games/Trax; $CLM -I .. Trax; )
( cd Examples/GIS; $CLM LeafletMapExample; )
( cd Examples/Graphics/BasicImagesExamples; for i in *.prj.default; do $CLM -I .. $(basename -s .prj.default $i); done; )
( cd Examples/Applications/TheTaxMan; $CLM TheTaxMan; )
#( cd Examples/Applications/Incidone; $CLM IncidoneCCC; )
#( cd Examples/Applications/ShipAdventure; $CLM main; )
#Run the tests
( cd Tools; ./RunUnitTestsForCI; )
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/CodeQualityMonitor
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 209715200
StackSize: 512000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: False
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Precompile:
Postlink:
MainModule
Name: CodeQualityMonitor
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
......@@ -2,13 +2,13 @@ Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/IncidoneCCC.exe
Exec: {Project}/RunUnitTestsForCI
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 209715200
StackSize: 1512000
StackSize: 5120000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
......@@ -23,6 +23,9 @@ Global
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
Font: Monaco
......@@ -42,7 +45,7 @@ Global
Precompile:
Postlink:
MainModule
Name: IncidoneCCC
Name: RunUnitTestsForCI
Dir: {Project}
Compiler
NeverMemoryProfile: False
......
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/WebResourceCollector
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 209715200
StackSize: 5120000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: False
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Precompile:
Postlink:
MainModule
Name: WebResourceCollector
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment