Update cmake workflow to trigger on push + pull request. Only run in raspberry pi repo (not on forks)

This commit is contained in:
Liam Fraser 2021-03-03 16:38:57 +00:00 committed by Graham Sanderson
parent b14e0f3ab0
commit a68688f191

View File

@ -1,5 +1,5 @@
name: CMake name: CMake
on: [push] on: [push, pull_request]
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@ -7,6 +7,7 @@ env:
jobs: jobs:
build: build:
if: github.repository_owner == 'raspberrypi'
runs-on: [self-hosted, Linux, X64] runs-on: [self-hosted, Linux, X64]
steps: steps: