Monitor standup #245
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: Check Style | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| compile_job: | |
| name: style_all | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/lasp/adamant:0.2 | |
| options: --user root | |
| steps: | |
| - run: echo "Starting job triggered by a ${{ github.event_name }} event on a ${{ runner.os }} server hosted by GitHub." | |
| - run: echo "Checking out ${{ github.repository }} on branch ${{ github.ref }}." | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| with: | |
| set-safe-directory: true | |
| path: adamant-xmera-components | |
| - name: Check out fp32-fsw-xmera code | |
| uses: actions/checkout@v4 | |
| with: | |
| set-safe-directory: true | |
| repository: lasp/fp32-fsw-xmera | |
| path: fp32-fsw-xmera | |
| ref: develop | |
| - name: Clone adamant repository | |
| uses: actions/checkout@v4 | |
| with: | |
| set-safe-directory: true | |
| repository: lasp/adamant | |
| path: adamant | |
| - name: Clone Eigen with freestanding support | |
| uses: actions/checkout@v4 | |
| with: | |
| set-safe-directory: true | |
| repository: lasp/eigen | |
| path: eigen | |
| ref: feature/freestanding | |
| - name: Check all style | |
| run: bash adamant-xmera-components/env/github_run.sh "redo adamant-xmera-components/style_all" | |
| - name: Archive logs for failed style checks | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: style_logs | |
| path: ${{ github.workspace }}/adamant-xmera-components/build | |
| if-no-files-found: ignore | |
| - run: echo "Finished with status - ${{ job.status }}." | |
| if: always() |