Skip to content

Commit a50ff38

Browse files
authored
Merge pull request #29 from EESSI/ocaisa-patch-2
Add an ARM runner to CI, update CVMFS action version
2 parents 00d5545 + eb726ac commit a50ff38

File tree

3 files changed

+36
-5
lines changed

3 files changed

+36
-5
lines changed

.github/workflows/minimal-usage.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: ubuntu-minimal_usage
22
on:
3+
schedule:
4+
- cron: '0 0 * * *' # Runs once a day at midnight UTC
5+
workflow_dispatch: # Allows manual triggering
36
push:
47
branches:
58
- main
@@ -10,9 +13,15 @@ on:
1013
permissions: read-all
1114
jobs:
1215
minimal_usage:
13-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
matrix:
19+
os:
20+
- ubuntu-24.04-arm
21+
- ubuntu-24.04
22+
- ubuntu-latest
1423
steps:
15-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
24+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1625
- uses: ./
1726
- name: Test EESSI
1827
run: |

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# GitHub Action: eessi/github-action-eessi
2-
[![ubuntu](https://github.com/eessi/github-action-eessi/workflows/ubuntu/badge.svg)](https://github.com/eessi/github-action-eessi/actions?query=workflow%3Aubuntu) <!---[![macOS](https://github.com/eessi/github-action-eessi/workflows/macOS/badge.svg)](https://github.com/eessi/github-action-eessi/actions?query=workflow%3AmacOS)-->
2+
[![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) <!---[![macOS](https://github.com/eessi/github-action-eessi/workflows/macOS/badge.svg)](https://github.com/eessi/github-action-eessi/actions?query=workflow%3AmacOS)-->
33

44

55
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.
@@ -21,6 +21,25 @@ jobs:
2121
ubuntu-minimal:
2222
runs-on: ubuntu-latest
2323
steps:
24+
- uses: actions/checkout@v4
25+
- uses: eessi/github-action-eessi@v3
26+
- name: Test EESSI
27+
run: |
28+
module avail
29+
shell: bash
30+
```
31+
and one can also easily create a workflow that will run on both `x86_64` and `Arm` architectures:
32+
```yaml
33+
jobs:
34+
ubuntu-minimal:
35+
runs-on: ${{ matrix.os }}
36+
strategy:
37+
matrix:
38+
os:
39+
- ubuntu-24.04-arm
40+
- ubuntu-24.04
41+
steps:
42+
- uses: actions/checkout@v4
2443
- uses: eessi/github-action-eessi@v3
2544
- name: Test EESSI
2645
run: |
@@ -34,7 +53,8 @@ jobs:
3453
macOS-minimal:
3554
runs-on: macos-latest
3655
steps:
37-
- uses: eessi/github-action-eessi@v2
56+
- uses: actions/checkout@v4
57+
- uses: eessi/github-action-eessi@v3
3858
- name: Test EESSI
3959
run: |
4060
module avail
@@ -58,6 +78,7 @@ jobs:
5878
build:
5979
runs-on: ubuntu-latest
6080
steps:
81+
- uses: actions/checkout@v4
6182
- uses: eessi/github-action-eessi@v3
6283
- name: Test EESSI
6384
run: |
@@ -76,6 +97,7 @@ jobs:
7697
build:
7798
runs-on: ubuntu-latest
7899
steps:
100+
- uses: actions/checkout@v4
79101
- uses: eessi/github-action-eessi@v3
80102
- name: Test EESSI
81103
run: |

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ inputs:
1616
runs:
1717
using: "composite"
1818
steps:
19-
- uses: cvmfs-contrib/github-action-cvmfs@cec5c94a14714ab02980682fce8ab3de238401f9 # v4.0 + MacOS support
19+
- uses: cvmfs-contrib/github-action-cvmfs@204fd621e07d10a8cce4e73b9858b11bf6b95647 # v5.0 + MacOS support
2020
with:
2121
# Can't use config package for macOS but our repos are available with the default configuration anyway
2222
# cvmfs_config_package: https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb

0 commit comments

Comments
 (0)