Check-in [ee05954bbd]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Try to cache the SummerCoat ROM so that it is not needlessly recreated when a later workflow runs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ee05954bbd486a7e30f32edf133bdde860c19acd
User & Date: stephanie.gawroriski 2020-01-01 23:29:30
Context
2020-01-01
23:33
Correct test task polling to check every second to see if a task has ended. check-in: d4a99a91b6 user: stephanie.gawroriski tags: trunk
23:29
Try to cache the SummerCoat ROM so that it is not needlessly recreated when a later workflow runs. check-in: ee05954bbd user: stephanie.gawroriski tags: trunk
22:36
Fail SpringCoat tests if there is no output for 30 minutes. check-in: 8897e9d0f4 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to .circleci/config.yml.

80
81
82
83
84
85
86





















87
88
89
90
91
92
93
...
136
137
138
139
140
141
142


143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166


167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
...
187
188
189
190
191
192
193


194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
...
214
215
216
217
218
219
220


221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
...
241
242
243
244
245
246
247


248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
...
281
282
283
284
285
286
287




288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
  build_summercoatrom:
    executor: buildenv
    steps:
      - initialize_buildenv
      - run:
          name: Building SummerCoat ROM
          command: ~/squirreljme/build.sh dist summercoatrom





















  tests_baseline:
    executor: buildenv
    steps:
      - initialize_buildenv
      - run:
          name: Clear old test results and snapshot
          command: rm -f bljut/baseline/results.xml baseline.nps
................................................................................
      - store_artifacts:
          path: summercoat.nps
          destination: /nps/summercoat.nps
  tests_summercoatrom:
    executor: buildenv
    steps:
      - initialize_buildenv


      - run:
          name: Clear old test results and snapshot
          command: rm -f svjut/summercoatrom/results.xml summercoatrom.nps
      - run:
          name: Create test directory
          command: mkdir -p svjut/summercoatrom
      - run:
          name: Build SummerCoat ROM with tests
          command: ~/squirreljme/build.sh dist summercoatrom-test
      - run:
          name: Extract distribution
          command: unzip -o squirreljme-summercoatrom-test.zip
      - run:
          name: Running SummerCoat VM
          command: ~/squirreljme/build.sh launch -v summercoat -n summercoatrom.nps -Dcc.squirreljme.debug=false -Dcc.squirreljme.romfile=squirreljme.sqc tac-runner > svjut/summercoatrom/results.xml
      - store_test_results:
          path: svjut
      - store_artifacts:
          path: summercoatrom.nps
          destination: /nps/summercoatrom.nps
  tests_ratufacoat_default:
    executor: buildenv
    steps:
      - initialize_buildenv


      - run:
          name: Clear old test results and snapshot
          command: rm -f rdjut/ratufacoatdef/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rdjut/ratufacoatdef
      - run:
          name: Build SummerCoat ROM with tests
          command: ~/squirreljme/build.sh dist summercoatrom-test
      - run:
          name: Extract distribution
          command: unzip -o squirreljme-summercoatrom-test.zip
      - run:
          name: Cleaning RatufaCoat VM (Default)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (Default)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc
      - run:
................................................................................
          command: ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rdjut/ratufacoatdef/results.xml
      - store_test_results:
          path: rdjut
  tests_ratufacoat_ppc:
    executor: buildenv
    steps:
      - initialize_buildenv


      - run:
          name: Clear old test results and snapshot
          command: rm -f rpjut/ratufacoatppc/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rpjut/ratufacoatppc
      - run:
          name: Build SummerCoat ROM with tests
          command: ~/squirreljme/build.sh dist summercoatrom-test
      - run:
          name: Extract distribution
          command: unzip -o squirreljme-summercoatrom-test.zip
      - run:
          name: Cleaning RatufaCoat VM (PowerPC)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (PowerPC)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=powerpc-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
      - run:
................................................................................
          command: qemu-ppc ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rpjut/ratufacoatppc/results.xml
      - store_test_results:
          path: rpjut
  tests_ratufacoat_mips:
    executor: buildenv
    steps:
      - initialize_buildenv


      - run:
          name: Clear old test results and snapshot
          command: rm -f rmjut/ratufacoatmips/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rmjut/ratufacoatmips
      - run:
          name: Build SummerCoat ROM with tests
          command: ~/squirreljme/build.sh dist summercoatrom-test
      - run:
          name: Extract distribution
          command: unzip -o squirreljme-summercoatrom-test.zip
      - run:
          name: Cleaning RatufaCoat VM (MIPS EB)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (MIPS EB)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=mips-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
      - run:
................................................................................
          command: qemu-mips ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rmjut/ratufacoatmips/results.xml
      - store_test_results:
          path: rmjut
  tests_ratufacoat_mipsel:
    executor: buildenv
    steps:
      - initialize_buildenv


      - run:
          name: Clear old test results and snapshot
          command: rm -f rnjut/ratufacoatmipsel/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rnjut/ratufacoatmipsel
      - run:
          name: Build SummerCoat ROM with tests
          command: ~/squirreljme/build.sh dist summercoatrom-test
      - run:
          name: Extract distribution
          command: unzip -o squirreljme-summercoatrom-test.zip
      - run:
          name: Cleaning RatufaCoat VM (MIPS EL)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (MIPS EL)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=mipsel-linux-gnu-gcc CFLAGS='-static -DSJME_LITTLE_ENDIAN'
      - run:
................................................................................
      - tests_baseline:
          requires:
            - build_javase
      - build_summercoatrom:
          requires:
            - build_javase
            - build_javame




      - tests_springcoat:
          requires:
            - build_javase
      - tests_summercoat:
          requires:
            - build_javase
      - tests_summercoatrom:
          requires:
            - build_summercoatrom
      - tests_ratufacoat_default:
          requires:
            - build_summercoatrom
      - tests_ratufacoat_ppc:
          requires:
            - build_summercoatrom
      - tests_ratufacoat_mips:
          requires:
            - build_summercoatrom
      - tests_ratufacoat_mipsel:
          requires:
            - build_summercoatrom








>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







 







>
>







|
|
<
<
<












>
>







|
|
<
<
<







 







>
>







|
|
<
<
<







 







>
>







|
|
<
<
<







 







>
>







|
|
<
<
<







 







>
>
>
>








|


|


|


|


|
<
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
...
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174



175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197



198
199
200
201
202
203
204
...
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223



224
225
226
227
228
229
230
...
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249



250
251
252
253
254
255
256
...
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275



276
277
278
279
280
281
282
...
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328

  build_summercoatrom:
    executor: buildenv
    steps:
      - initialize_buildenv
      - run:
          name: Building SummerCoat ROM
          command: ~/squirreljme/build.sh dist summercoatrom
      - run:
          name: UnZip SummerCoat ROM
          command: unzip -o squirreljme-summercoatrom.zip
      - persist_to_workspace:
          root: /tmp/summercoat
          paths:
            - squirreljme.sqc
  build_summercoatromtest:
    executor: buildenv
    steps:
      - initialize_buildenv
      - run:
          name: Building SummerCoat Test ROM
          command: ~/squirreljme/build.sh dist summercoatrom-test
      - run:
          name: UnZip SummerCoat ROM
          command: unzip -o squirreljme-summercoatrom-test.zip
      - persist_to_workspace:
          root: /tmp/summercoat-test
          paths:
            - squirreljme.sqc
  tests_baseline:
    executor: buildenv
    steps:
      - initialize_buildenv
      - run:
          name: Clear old test results and snapshot
          command: rm -f bljut/baseline/results.xml baseline.nps
................................................................................
      - store_artifacts:
          path: summercoat.nps
          destination: /nps/summercoat.nps
  tests_summercoatrom:
    executor: buildenv
    steps:
      - initialize_buildenv
      - attach_workspace:
          root: /tmp/summercoat-test
      - run:
          name: Clear old test results and snapshot
          command: rm -f svjut/summercoatrom/results.xml summercoatrom.nps
      - run:
          name: Create test directory
          command: mkdir -p svjut/summercoatrom
      - run:
          name: Take SummerCoat Test ROM
          command: cp -v /tmp/summercoat-test/squirreljme.sqc .



      - run:
          name: Running SummerCoat VM
          command: ~/squirreljme/build.sh launch -v summercoat -n summercoatrom.nps -Dcc.squirreljme.debug=false -Dcc.squirreljme.romfile=squirreljme.sqc tac-runner > svjut/summercoatrom/results.xml
      - store_test_results:
          path: svjut
      - store_artifacts:
          path: summercoatrom.nps
          destination: /nps/summercoatrom.nps
  tests_ratufacoat_default:
    executor: buildenv
    steps:
      - initialize_buildenv
      - attach_workspace:
          root: /tmp/summercoat-test
      - run:
          name: Clear old test results and snapshot
          command: rm -f rdjut/ratufacoatdef/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rdjut/ratufacoatdef
      - run:
          name: Take SummerCoat Test ROM
          command: cp -v /tmp/summercoat-test/squirreljme.sqc .



      - run:
          name: Cleaning RatufaCoat VM (Default)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (Default)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc
      - run:
................................................................................
          command: ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rdjut/ratufacoatdef/results.xml
      - store_test_results:
          path: rdjut
  tests_ratufacoat_ppc:
    executor: buildenv
    steps:
      - initialize_buildenv
      - attach_workspace:
          root: /tmp/summercoat-test
      - run:
          name: Clear old test results and snapshot
          command: rm -f rpjut/ratufacoatppc/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rpjut/ratufacoatppc
      - run:
          name: Take SummerCoat Test ROM
          command: cp -v /tmp/summercoat-test/squirreljme.sqc .



      - run:
          name: Cleaning RatufaCoat VM (PowerPC)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (PowerPC)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=powerpc-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
      - run:
................................................................................
          command: qemu-ppc ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rpjut/ratufacoatppc/results.xml
      - store_test_results:
          path: rpjut
  tests_ratufacoat_mips:
    executor: buildenv
    steps:
      - initialize_buildenv
      - attach_workspace:
          root: /tmp/summercoat-test
      - run:
          name: Clear old test results and snapshot
          command: rm -f rmjut/ratufacoatmips/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rmjut/ratufacoatmips
      - run:
          name: Take SummerCoat Test ROM
          command: cp -v /tmp/summercoat-test/squirreljme.sqc .



      - run:
          name: Cleaning RatufaCoat VM (MIPS EB)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (MIPS EB)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=mips-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
      - run:
................................................................................
          command: qemu-mips ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rmjut/ratufacoatmips/results.xml
      - store_test_results:
          path: rmjut
  tests_ratufacoat_mipsel:
    executor: buildenv
    steps:
      - initialize_buildenv
      - attach_workspace:
          root: /tmp/summercoat-test
      - run:
          name: Clear old test results and snapshot
          command: rm -f rnjut/ratufacoatmipsel/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rnjut/ratufacoatmipsel
      - run:
          name: Take SummerCoat Test ROM
          command: cp -v /tmp/summercoat-test/squirreljme.sqc .



      - run:
          name: Cleaning RatufaCoat VM (MIPS EL)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (MIPS EL)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=mipsel-linux-gnu-gcc CFLAGS='-static -DSJME_LITTLE_ENDIAN'
      - run:
................................................................................
      - tests_baseline:
          requires:
            - build_javase
      - build_summercoatrom:
          requires:
            - build_javase
            - build_javame
      - build_summercoatromtest:
          requires:
            - build_javase
            - build_javame
      - tests_springcoat:
          requires:
            - build_javase
      - tests_summercoat:
          requires:
            - build_javase
      - tests_summercoatrom:
          requires:
            - build_summercoatromtest
      - tests_ratufacoat_default:
          requires:
            - build_summercoatromtest
      - tests_ratufacoat_ppc:
          requires:
            - build_summercoatromtest
      - tests_ratufacoat_mips:
          requires:
            - build_summercoatromtest
      - tests_ratufacoat_mipsel:
          requires:
            - build_summercoatromtest