| 1 | # ---------------------------------------------------------------------------- |
| 2 | # GitHub Action workflow to perform CGE tests that don't depend on the compiler |
| 3 | # (FPC) or any other non-standard tools. |
| 4 | # In practice: "./tools/internal/cge_shell_tests" that, as the name suggests, |
| 5 | # only use shell. |
| 6 | # |
| 7 | # They don't run in Docker, they run directly on the host, |
| 8 | # and they use GH hosted runner. Since they don't depend on any non-standard things. |
| 9 | # |
| 10 | # See https://docs.github.com/en/actions for docs. |
| 11 | # ---------------------------------------------------------------------------- |
| 12 | |
| 13 | name: Test Shell |
| 14 | |
| 15 | # Called by everything.yml |
| 16 | on: [workflow_call] |
| 17 | #on: [push, pull_request] |
| 18 | |
| 19 | defaults: |
| 20 | run: |
| 21 | shell: bash |
| 22 | |
| 23 | jobs: |
| 24 | test-shell: |
| 25 | name: Shell (Compiler-Independent) Tests |
| 26 | runs-on: ubuntu-latest |
| 27 | steps: |
| 28 | - uses: actions/checkout@v4 |
| 29 | - name: Set environment |
| 30 | run: echo "CASTLE_ENGINE_PATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV |
| 31 | - name: Shell Tests |
| 32 | run: ./tools/internal/cge_shell_tests |