From 7ec70084feca922e24c61edd73b1c5862d194f69 Mon Sep 17 00:00:00 2001 From: ocaisa Date: Tue, 28 Jan 2025 09:17:58 +0100 Subject: [PATCH 1/8] Add an ARM runner to CI --- .github/workflows/minimal-usage.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/minimal-usage.yml b/.github/workflows/minimal-usage.yml index 1a24a88..4ff521c 100644 --- a/.github/workflows/minimal-usage.yml +++ b/.github/workflows/minimal-usage.yml @@ -10,9 +10,15 @@ on: permissions: read-all jobs: minimal_usage: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + include: + - os: ubuntu-24.04-arm + - os: ubuntu-24.04 + - os: ubuntu-latest steps: - - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: ./ - name: Test EESSI run: | From 5311f39dfb84da0cfb6cced05cf7d00aa208261c Mon Sep 17 00:00:00 2001 From: ocaisa Date: Tue, 28 Jan 2025 09:32:29 +0100 Subject: [PATCH 2/8] Update README.md to link to correct action --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8016a90..6a76b4c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # GitHub Action: eessi/github-action-eessi -[![ubuntu](https://github.com/eessi/github-action-eessi/workflows/ubuntu/badge.svg)](https://github.com/eessi/github-action-eessi/actions?query=workflow%3Aubuntu) +[![ubuntu](https://github.com/eessi/github-action-eessi/workflows/ubuntu-minimal_usage/badge.svg)](https://github.com/eessi/github-action-eessi/actions?query=workflow%3Aubuntu-minimal_usage) This GitHub Action sets up the [European Environment for Scientific Software Installations](https://eessi.github.io/docs/) (EESSI) for use in GitHub Workflows. EESSI is like a streaming service for software installations: you have access to a large catalogue of software provided by EESSI, however the installations are only cached on your system once you try to access them. @@ -27,6 +27,23 @@ jobs: module avail shell: bash ``` +and one can also easily create a workflow that will run on both `x86_64` and `Arm` architectures: +```yaml +jobs: + ubuntu-minimal: + runs-on: ${{ matrix.os }} + strategy: + matrix: + include: + - os: ubuntu-24.04-arm + - os: ubuntu-24.04 + steps: + - uses: eessi/github-action-eessi@v3 + - name: Test EESSI + run: | + module avail + shell: bash +```