aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorRaphaël Zumer <rzumer@tebako.net>2020-03-21 18:35:43 -0400
committerRaphaël Zumer <rzumer@tebako.net>2020-03-21 18:40:44 -0400
commitfa1558319bbce195324fe4123f5a941cad9cafd3 (patch)
tree141e3ab9e8807d191c258ca46e18eb0b5e6acf3f /.github/workflows
parent57c1e6587e068e04c80eb3d6b97e8ad0ae0ddf6b (diff)
Disable CI on non-master branches
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-ubuntu.yml8
-rw-r--r--.github/workflows/build-windows.yml8
2 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/build-ubuntu.yml b/.github/workflows/build-ubuntu.yml
index fed0f3e..b57c5b7 100644
--- a/.github/workflows/build-ubuntu.yml
+++ b/.github/workflows/build-ubuntu.yml
@@ -1,6 +1,12 @@
name: CMake Build (Ubuntu x86-64)
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
env:
BUILD_TYPE: Release
diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml
index c7d05d0..ec14e30 100644
--- a/.github/workflows/build-windows.yml
+++ b/.github/workflows/build-windows.yml
@@ -1,6 +1,12 @@
name: CMake Build (Windows x86-64)
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
env:
BUILD_TYPE: Release