Skeleton layer + CI #3
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: Build SGL QEMU ARM64 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: "Setup Env & Build" | |
| runs-on: ubuntu-latest | |
| env: | |
| KAS_WORKING_DIR: "${{ github.workspace }}/kas-build" | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install kas | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install kas | |
| - name: Build SGL | |
| run: | | |
| mkdir -p "$KAS_WORKING_DIR" | |
| kas build kas/sgl-scarthgap-qemuarm64.yml | |
| - name: Setup tmate session | |
| if: ${{ failure() }} | |
| uses: mxschmitt/action-tmate@v3 |