diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index faaaae6..9c2fc9b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -149,6 +149,50 @@ jobs: GHW_TESTING_SKIP_TOPOLOGY: "1" run: go test -v ./... + ubuntu-2404-arm: + runs-on: ubuntu-24.04-arm + strategy: + matrix: + go: [ '1.23' ] + steps: + - name: harden runner + uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + with: + egress-policy: block + disable-sudo: true + allowed-endpoints: > + github.com:443 + api.github.com:443 + proxy.github.com:443 + proxy.golang.org:443 + raw.githubusercontent.com:443 + objects.githubusercontent.com:443 + proxy.golang.org:443 + - name: checkout code + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - name: setup go + uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 + with: + go-version: ${{ matrix.go }} + - name: gather machine info + # we (actually: fromani) know little about ARM machines, so let's dump properties to help troubleshooting + run: | + go run ./cmd/ghwc/main.go -f yaml topology + go run ./cmd/ghwc/main.go -f yaml cpu + go run ./cmd/ghwc/main.go -f yaml memory + go run ./cmd/ghwc/main.go -f yaml pci + - name: run tests + env: + GHW_TESTING_SKIP_BLOCK: "1" + GHW_TESTING_SKIP_GPU: "1" + GHW_TESTING_SKIP_CPU: "1" + GHW_TESTING_SKIP_MEMORY: "1" + GHW_TESTING_SKIP_HOST: "1" + GHW_TESTING_SKIP_NET: "1" + GHW_TESTING_SKIP_PCI: "1" + GHW_TESTING_SKIP_TOPOLOGY: "1" + run: go test -v ./... + # tier-2 # best-effort support, limited to most recent platforms (OS+go)