Skip to content

Commit f6697c5

Browse files
committed
WIP: gh actions arm CI runners
WIP TBD Signed-off-by: Francesco Romani <fromani@redhat.com>
1 parent c1bfc6e commit f6697c5

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/test.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,46 @@ jobs:
149149
GHW_TESTING_SKIP_TOPOLOGY: "1"
150150
run: go test -v ./...
151151

152+
ubuntu-2404-arm:
153+
runs-on: ubuntu-24.04-arm
154+
strategy:
155+
matrix:
156+
go: [ '1.23' ]
157+
steps:
158+
- name: harden runner
159+
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
160+
with:
161+
egress-policy: block
162+
disable-sudo: true
163+
allowed-endpoints: >
164+
github.com:443
165+
api.github.com:443
166+
proxy.github.com:443
167+
proxy.golang.org:443
168+
raw.githubusercontent.com:443
169+
objects.hdec.top:443
170+
proxy.golang.org:443
171+
- name: checkout code
172+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
173+
- name: setup go
174+
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
175+
with:
176+
go-version: ${{ matrix.go }}
177+
- name: gather machine info
178+
# we (actually: fromani) know little about ARM machines, so let's dump properties to help troubleshooting
179+
run: go run ./cmd/ghwc/main.go -f yaml
180+
- name: run tests
181+
env:
182+
GHW_TESTING_SKIP_BLOCK: "1"
183+
GHW_TESTING_SKIP_GPU: "1"
184+
GHW_TESTING_SKIP_CPU: "1"
185+
GHW_TESTING_SKIP_MEMORY: "1"
186+
GHW_TESTING_SKIP_HOST: "1"
187+
GHW_TESTING_SKIP_NET: "1"
188+
GHW_TESTING_SKIP_PCI: "1"
189+
GHW_TESTING_SKIP_TOPOLOGY: "1"
190+
run: go test -v ./...
191+
152192
# tier-2
153193
# best-effort support, limited to most recent platforms (OS+go)
154194

0 commit comments

Comments
 (0)