Skip to content

Commit b75e844

Browse files
committed
chnage machine
1 parent 34d7fea commit b75e844

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

.github/workflows/arm.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
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

@@ -34,8 +34,7 @@ jobs:
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:

.github/workflows/task-unit-test.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,7 @@ on:
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+
2821
jobs:
2922
test:
3023
name: Test ${{ inputs.container && format('{0} (on {1})', inputs.container, inputs.env) || inputs.env }}
@@ -35,14 +28,6 @@ jobs:
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

0 commit comments

Comments
 (0)