File tree Expand file tree Collapse file tree 2 files changed +3
-19
lines changed
Expand file tree Collapse file tree 2 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 2424 github-token : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
2525 # Ubuntu 22.04 region AMI for ARM
2626 ec2-image-id : ami-062b37d89f25c958f
27- ec2-instance-type : t4g.large
27+ ec2-instance-type : r6gd.medium
2828 subnet-id : ${{ secrets.AWS_EC2_SUBNET_ID }}
2929 security-group-id : ${{ secrets.AWS_EC2_SG_ID }}
3030
3434 with :
3535 env : ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner
3636 run-valgrind : false # run the job without valgrind
37- use_disk_tmp : true
38- tmpdir_subpath : " .tmp"
37+
3938 stop-runner :
4039 name : Stop self-hosted EC2 runner
4140 needs :
Original file line number Diff line number Diff line change 1717 description : ' Run valgrind tests'
1818 type : boolean
1919 default : true
20- use_disk_tmp :
21- type : boolean
22- required : false
23- default : false
24- tmpdir_subpath :
25- type : string
26- required : false
27- default : " .tmp"
20+
2821jobs :
2922 test :
3023 name : Test ${{ inputs.container && format('{0} (on {1})', inputs.container, inputs.env) || inputs.env }}
3528 # Use bash as default shell for every OS other than alpine
3629 shell : ${{ inputs.container && contains(inputs.container, 'alpine') && 'sh -l -eo pipefail {0}' || 'bash -l -eo pipefail {0}' }}
3730 steps :
38- - name : Use disk-backed TMPDIR
39- if : ${{ inputs.use_disk_tmp }}
40- run : |
41- mkdir -p "${{ github.workspace }}/${{ inputs.tmpdir_subpath }}"
42- echo "TMPDIR=${{ github.workspace }}/${{ inputs.tmpdir_subpath }}" >> "$GITHUB_ENV"
43- echo "TMP=${{ github.workspace }}/${{ inputs.tmpdir_subpath }}" >> "$GITHUB_ENV"
44- echo "TEMP=${{ github.workspace }}/${{ inputs.tmpdir_subpath }}" >> "$GITHUB_ENV"
45-
4631 - name : pre-checkout script
4732 run : ${{ inputs.pre-checkout-script }}
4833 - name : checkout
You can’t perform that action at this time.
0 commit comments