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 47cee38988
commit 482d9657d3

View File

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