|
@@ -8,6 +8,8 @@ on:
|
|
|
required: true
|
|
required: true
|
|
|
type: boolean
|
|
type: boolean
|
|
|
push:
|
|
push:
|
|
|
|
|
+ branches:
|
|
|
|
|
+ - master
|
|
|
paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
|
|
paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
|
|
|
pull_request:
|
|
pull_request:
|
|
|
types: [opened, synchronize, edited, reopened, review_requested, ready_for_review]
|
|
types: [opened, synchronize, edited, reopened, review_requested, ready_for_review]
|
|
@@ -18,6 +20,8 @@ env:
|
|
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
|
ubuntu-latest-make:
|
|
ubuntu-latest-make:
|
|
|
|
|
+ if: github.event.pull_request.draft == false
|
|
|
|
|
+
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
@@ -37,6 +41,8 @@ jobs:
|
|
|
make
|
|
make
|
|
|
|
|
|
|
|
ubuntu-latest-cmake:
|
|
ubuntu-latest-cmake:
|
|
|
|
|
+ if: github.event.pull_request.draft == false
|
|
|
|
|
+
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
@@ -65,6 +71,8 @@ jobs:
|
|
|
ctest --verbose
|
|
ctest --verbose
|
|
|
|
|
|
|
|
ubuntu-latest-cmake-sanitizer:
|
|
ubuntu-latest-cmake-sanitizer:
|
|
|
|
|
+ if: github.event.pull_request.draft == false
|
|
|
|
|
+
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
continue-on-error: true
|
|
continue-on-error: true
|
|
@@ -101,6 +109,8 @@ jobs:
|
|
|
ctest --verbose
|
|
ctest --verbose
|
|
|
|
|
|
|
|
macOS-latest-make:
|
|
macOS-latest-make:
|
|
|
|
|
+ if: github.event.pull_request.draft == false
|
|
|
|
|
+
|
|
|
runs-on: macos-latest
|
|
runs-on: macos-latest
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
@@ -119,6 +129,8 @@ jobs:
|
|
|
make
|
|
make
|
|
|
|
|
|
|
|
macOS-latest-cmake:
|
|
macOS-latest-cmake:
|
|
|
|
|
+ if: github.event.pull_request.draft == false
|
|
|
|
|
+
|
|
|
runs-on: macOS-latest
|
|
runs-on: macOS-latest
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
@@ -146,6 +158,8 @@ jobs:
|
|
|
ctest --verbose
|
|
ctest --verbose
|
|
|
|
|
|
|
|
windows-latest-cmake:
|
|
windows-latest-cmake:
|
|
|
|
|
+ if: github.event.pull_request.draft == false
|
|
|
|
|
+
|
|
|
runs-on: windows-latest
|
|
runs-on: windows-latest
|
|
|
|
|
|
|
|
strategy:
|
|
strategy:
|