name: Build on: push: branches: [ "main" ] pull_request: branches: [ "main" ] jobs: build: # Only run on GitHub, skip on Gitea if: github.server_url == 'https://github.com' name: Build uses: ./.github/workflows/cmake.yml with: build_type: Release run_tests: true