Skip to content

Allow building for a list of accelerators in a single build #25

Allow building for a list of accelerators in a single build

Allow building for a list of accelerators in a single build #25

Workflow file for this run

name: Bot build script
on:
pull_request:
branches: [ "main" ]
jobs:
check_symlinks:
runs-on: ubuntu-latest
steps:
- name: Git clone software-layer and software-layer-scripts inside it
run: |
git clone https://github.com/EESSI/software-layer.git
cd software-layer
git clone https://github.com/EESSI/software-layer-scripts.git
- name: Run symlink commands
run: |
set -e
cd software-layer
for file in $(ls software-layer-scripts | egrep -v 'easystacks|LICENSE|README.md|^bot'); do
ln -s software-layer-scripts/${file}
done
for file in $(ls software-layer-scripts/bot | grep -v '^build.sh'); do
ln -s ../software-layer-scripts/bot/${file} bot/${file}
done