39
39
matrix : ${{ steps.set-matrix.outputs.matrix }}
40
40
41
41
run_integration_test :
42
- needs : [build_tracefile_player, build_tracefile_writer, build_openmcx, build_esmini, generate_integration_test_paths]
42
+ needs : [build_tracefile_player, build_tracefile_writer, build_osi-validation, build_openmcx, build_esmini, generate_integration_test_paths]
43
43
name : Integration Test
44
44
runs-on : ubuntu-latest
45
45
strategy :
@@ -58,66 +58,53 @@ jobs:
58
58
59
59
- name : Cache Protobuf
60
60
id : cache-protobuf
61
- uses : actions/cache@v3
61
+ uses : actions/cache@v4
62
62
with :
63
63
path : protobuf-21.12
64
64
key : ${{ runner.os }}-protobuf
65
65
66
66
- name : Cache Model FMU
67
67
id : cache-model-fmu
68
- uses : actions/cache@v3
68
+ uses : actions/cache@v4
69
69
with :
70
70
path : /tmp/model_fmu
71
71
key : ${{ runner.os }}-model-fmu-${{ github.sha }}
72
72
73
73
- name : Cache Tracefile Player FMU
74
74
id : cache-tracefile-player-fmu
75
- uses : actions/cache@v3
75
+ uses : actions/cache@v4
76
76
with :
77
77
path : /tmp/tracefile_player_fmu
78
78
key : ${{ runner.os }}-tracefile-player-fmu
79
79
80
80
- name : Cache Tracefile Writer FMU
81
81
id : cache-tracefile-writer-fmu
82
- uses : actions/cache@v3
82
+ uses : actions/cache@v4
83
83
with :
84
84
path : /tmp/tracefile_writer_fmu
85
85
key : ${{ runner.os }}-tracefile-writer-fmu
86
86
87
87
- name : Cache esmini FMU
88
88
id : cache-esmini-fmu
89
- uses : actions/cache@v3
89
+ uses : actions/cache@v4
90
90
with :
91
91
path : /tmp/esmini_fmu
92
92
key : ${{ runner.os }}-esmini-fmu
93
93
94
94
- name : Cache osi-validation
95
95
id : cache-osi-validation
96
- uses : actions/cache@v3
96
+ uses : actions/cache@v4
97
97
with :
98
98
path : /tmp/osi-validation
99
99
key : ${{ runner.os }}-osi-validation
100
100
101
101
- name : Cache OpenMCx
102
102
id : cache-openmcx
103
- uses : actions/cache@v3
103
+ uses : actions/cache@v4
104
104
with :
105
105
path : openmcx
106
106
key : ${{ runner.os }}-openmcx
107
107
108
- - name : Download ProtoBuf
109
- if : steps.cache-protobuf.outputs.cache-hit != 'true'
110
- run : curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protobuf-all-21.12.tar.gz && tar xzvf protobuf-all-21.12.tar.gz
111
-
112
- - name : Build ProtoBuf
113
- if : steps.cache-protobuf.outputs.cache-hit != 'true'
114
- working-directory : protobuf-21.12
115
- run : ./configure DIST_LANG=cpp --disable-shared CXXFLAGS="-fPIC" && make -j4
116
-
117
- - name : Install ProtoBuf
118
- working-directory : protobuf-21.12
119
- run : sudo make install && sudo ldconfig
120
-
121
108
- name : Install dependencies
122
109
run : sudo apt install -y libxml2-dev zlib1g-dev libzip-dev
123
110
@@ -139,7 +126,7 @@ jobs:
139
126
fi
140
127
)
141
128
142
- - name : Check Input Trace Files with osi-validation and model output rules
129
+ - name : Check Input Trace Files with osi-validation and model input rules
143
130
if : steps.check-for-input-trace-files.outputs.found_trace == 1
144
131
run : |
145
132
if [ -d "./rules/input_rules" ]; then
@@ -181,7 +168,7 @@ jobs:
181
168
182
169
- name : Archive Output Trace Files
183
170
if : steps.check-for-output-trace-files.outputs.found_trace == 1
184
- uses : actions/upload-artifact@v3
171
+ uses : actions/upload-artifact@v4
185
172
with :
186
173
name : ${{ steps.check-for-output-trace-files.outputs.trace_file_name }}
187
174
path : ./test/integration/${{ matrix.path }}/output/${{ steps.check-for-output-trace-files.outputs.trace_file_name }}
0 commit comments