Move LAMMPS hook to a pre_test hook #30
Workflow file for this run
This file contains hidden or 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: 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 |