Feat/persys compute agent #219
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
| # This workflow will build a golang project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
| name: Go | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout with Submodules | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24 | |
| cache: true | |
| # === Main services (standard layout) === | |
| - name: Build API Gateway | |
| working-directory: ./persys-gateway | |
| run: go build -o bin/gateway ./cmd | |
| - name: Build Persys Scheduler | |
| working-directory: ./persys-scheduler | |
| run: go build -o bin/scheduler ./cmd/scheduler | |
| - name: Build Persys Federation | |
| working-directory: ./persys-federation | |
| run: go build -o bin/federation ./cmd | |
| - name: Build Persys Forgery | |
| working-directory: ./persys-forgery | |
| run: go build -o bin/forgery ./cmd | |
| - name: Build Persys Intelligence | |
| working-directory: ./persys-intelligence | |
| run: go build -o bin/intelligence ./cmd/intelligence | |
| - name: Build Persys Automation | |
| working-directory: ./persys-automation | |
| run: go build -o bin/automation ./cmd/automation | |
| - name: Build Persys Go SDK | |
| working-directory: ./sdk | |
| run: go build -o bin/sdk . | |
| - name: Build Persys Vault Manager | |
| working-directory: ./vault-manager | |
| run: go build -o bin/vault-manager ./cmd | |
| # === Special handling for submodules === | |
| - name: Build Persys Compute Agent | |
| working-directory: ./compute-agent | |
| run: | | |
| go mod download | |
| go build -o bin/persys-agent ./cmd/agent | |
| - name: Build Persysctl | |
| working-directory: ./persysctl | |
| run: | | |
| go mod download | |
| go build ./... |