Update workflow file

We need to checkout submodules
We should run on all branches
This commit is contained in:
Ryan Houdek committed 2020-03-06 00:20:13 -08:00
1 parent 73129e59d7
commit 445fe97dc6
1 file changed
+6 -3
+6 -3
View File
@@ -2,10 +2,8 @@ name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
@@ -17,6 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name : submodule checkout
# Need to update submodules
run: git submodule update --init --depth 1
- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands