@@ -376,67 +376,14 @@ jobs:
376
376
# This is just a join target to simplify branch protection setup
377
377
run : echo OK
378
378
379
- benchmark :
380
- name : Run benchmark suite
381
- runs-on : ubuntu-latest
382
- permissions :
383
- contents : read
384
- pull-requests : write
385
- needs : build
386
- steps :
387
- # Check out the code
388
- - name : Download Artifact
389
- uses : actions/download-artifact@v3
390
- with :
391
- name : built-tree
392
- - name : Extract Artifact
393
- run : |-
394
- echo "::group::Untar Archive"
395
- tar zxvf built-tree.tgz
396
- echo "::endgroup"
397
-
398
- rm built-tree.tgz
399
- - name : Set up Node
400
- uses : actions/setup-node@v4
401
- with :
402
- cache : yarn
403
- node-version : ' lts/*'
404
- - name : Install Dependencies
405
- run : yarn install --frozen-lockfile
406
- - name : Run Benchmark
407
- working-directory : packages/@jsii/benchmarks
408
- run : yarn bench --output ${{ runner.temp }}/bench-output.json
409
- - name : Compare Benchmark Results
410
- if : github.event_name == 'pull_request'
411
- uses : benchmark-action/github-action-benchmark@v1
412
- with :
413
- name : jsii Benchmark Regression
414
- tool : ' customSmallerIsBetter'
415
- output-file-path : ${{ runner.temp }}/bench-output.json
416
- comment-always : true
417
- github-token : ${{ secrets.GITHUB_TOKEN }}
418
- fail-on-alert : true
419
- - name : Upload Benchmark Results
420
- if : github.event_name == 'push'
421
- uses : benchmark-action/github-action-benchmark@v1
422
- with :
423
- name : jsii Benchmark
424
- tool : ' customSmallerIsBetter'
425
- output-file-path : ${{ runner.temp }}/bench-output.json
426
- github-token : ${{ secrets.PROJEN_GITHUB_TOKEN }}
427
- auto-push : true
428
-
429
379
pacmak-integration-test :
430
380
runs-on : ubuntu-latest
431
381
needs : create-release-package
432
382
strategy :
433
383
fail-fast : false
434
384
matrix :
435
385
rosetta :
436
- # this will be the 1.x-dev version build in this repo
437
- - ./jsii-rosetta.tgz
438
- - 5.2.x
439
- - 5.3.x
386
+ - latest
440
387
- 5.4.x
441
388
- 5.5.x
442
389
- 5.6.x
@@ -473,15 +420,11 @@ jobs:
473
420
run : sudo apt install -y python3-venv
474
421
# Show time!
475
422
- name : Prepare Work Tree
476
- # 1) Move the locally build version of jsii-rosetta somewhere else
477
- # 2) Remove @jsii/integ-test because it messed up version dependencies and is not needed
478
- # 3) Install aws-cdk-lib, and all locally build packages minus jsii-rosetta & @jsii/integ-test,
479
- # and the specific version of jsii-rosetta
480
- # This ensures we are running jsii-pacmak with the correct peer-dependency
481
- # 4) Print the jsii-rosetta version for confirmation
423
+ # 1) Install aws-cdk-lib,
424
+ # all locally build packages,
425
+ # the specific version of jsii-rosetta.
426
+ # 2) Print the jsii-rosetta version for confirmation
482
427
run : |-
483
- mv ${{ runner.temp }}/release-package/js/jsii-rosetta.tgz ./jsii-rosetta.tgz
484
- rm ${{ runner.temp }}/release-package/private/@jsii-integ-test.tgz
485
428
npm install --no-save --omit=dev \
486
429
aws-cdk-lib@2 \
487
430
constructs@10 \
@@ -498,7 +441,7 @@ jobs:
498
441
./node_modules/.bin/jsii-pacmak --no-parallel ./node_modules/aws-cdk-lib
499
442
# Upload artifact only on main and for latest rosetta
500
443
- name : ' Upload Artifact: integtest_aws-cdk-lib'
501
- if : github.ref == 'ref/head/main' && matrix.rosetta == '5.4.x '
444
+ if : github.ref == 'ref/head/main' && matrix.rosetta == 'latest '
502
445
uses : actions/upload-artifact@v4
503
446
with :
504
447
name : integtest_aws-cdk-lib
0 commit comments