Skip to content

Commit 2e11f04

Browse files
Update ARM ubuntu runner on workflows. (#6809)
## Motivation This PR aims to replace the `ubuntu-latest-arm-8-cores` runner, as it is no longer needed.
1 parent 0b576a6 commit 2e11f04

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ jobs:
124124
matrix:
125125
os:
126126
- ubuntu-22.04
127-
- ubuntu-latest-arm-8-cores
127+
- ubuntu-22.04-arm
128128
- macos-13
129129
- [self-hosted, macOS, ARM64, go-spacemesh]
130130
- windows-2022
131131
steps:
132132
- name: Add OpenCL support - Ubuntu
133-
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-latest-arm-8-cores' }}
133+
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-22.04-arm' }}
134134
run: sudo apt-get update -q && sudo apt-get install -qy ocl-icd-opencl-dev libpocl2
135135
- name: disable Windows Defender - Windows
136136
if: ${{ matrix.os == 'windows-2022' }}
@@ -219,7 +219,7 @@ jobs:
219219
matrix:
220220
os:
221221
- ubuntu-22.04
222-
- ubuntu-latest-arm-8-cores
222+
- ubuntu-22.04-arm
223223
# FIXME: reenable the macos runner
224224
# - macos-13
225225
- [self-hosted, macOS, ARM64, go-spacemesh]
@@ -269,7 +269,7 @@ jobs:
269269
go-version-file: "go.mod"
270270
cache: ${{ runner.arch != 'arm64' }}
271271
- name: Add OpenCL support - Ubuntu
272-
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-latest-arm-8-cores' }}
272+
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-22.04-arm' }}
273273
run: sudo apt-get update -q && sudo apt-get install -qy ocl-icd-opencl-dev libpocl2
274274
- name: Add OpenCL support - Windows
275275
if: ${{ matrix.os == 'windows-2022' }}

.github/workflows/dockerhub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
include:
2727
- os: ubuntu-22.04
2828
outname_sufix: "linux-amd64"
29-
- os: ubuntu-latest-arm-8-cores
29+
- os: ubuntu-22.04-arm
3030
outname_sufix: "linux-arm64"
3131
steps:
3232
- name: checkout

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
include:
1515
- os: ubuntu-22.04
1616
outname_sufix: "linux-amd64"
17-
- os: ubuntu-latest-arm-8-cores
17+
- os: ubuntu-22.04-arm
1818
outname_sufix: "linux-arm64"
1919
- os: macos-13
2020
outname_sufix: "mac-amd64"
@@ -29,7 +29,7 @@ jobs:
2929
- shell: bash
3030
run: echo "OUTNAME=go-spacemesh-${{ github.ref_name }}-${{ matrix.outname_sufix }}" >> $GITHUB_ENV
3131
- name: Add OpenCL support - Ubuntu
32-
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-latest-arm-8-cores' }}
32+
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-22.04-arm' }}
3333
run: sudo apt-get update -q && sudo apt-get install -qy ocl-icd-opencl-dev libpocl2
3434
- name: Install dependencies in windows
3535
if: ${{ matrix.os == 'windows-2022' }}
@@ -107,7 +107,7 @@ jobs:
107107
unzip awscliv2.zip
108108
sudo ./aws/install --update
109109
- name: Install aws-cli on linux-arm
110-
if: ${{ matrix.os == 'ubuntu-latest-arm-8-cores' }}
110+
if: ${{ matrix.os == 'ubuntu-22.04-arm' }}
111111
run: |
112112
curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64-2.2.35.zip" -o "awscliv2.zip"
113113
unzip awscliv2.zip

0 commit comments

Comments
 (0)