Update action for software.eessi.io
#1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ubuntu_tensorflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 | |
- uses: eessi/github-action-eessi@main | |
with: | |
eessi_stack_version: '2023.06' | |
- name: Test EESSI | |
run: | | |
# TensorFlow module is loaded via .envrc | |
python -m tensorflow -c "print(tensorflow.VERSION)" | |
shell: bash | |
- name: Test caching effect of EESSI | |
run: | | |
python -m tensorflow -c "print(tensorflow.VERSION)" | |
shell: bash | |
- name: Test module load | |
run: | | |
module load CMake | |
module list | |
cmake --version | |
shell: bash |