mirror of
https://github.com/microsoft/GSL.git
synced 2025-04-02 09:18:33 -04:00
Allow testing on forks
Currently testing will only run on pushes to main. This change allows testing on any branch which simplfies testing for forks.
This commit is contained in:
parent
607753a657
commit
2c1a9fca22
1
.github/workflows/android.yml
vendored
1
.github/workflows/android.yml
vendored
@ -6,7 +6,6 @@ concurrency:
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
|
1
.github/workflows/compilers.yml
vendored
1
.github/workflows/compilers.yml
vendored
@ -6,7 +6,6 @@ concurrency:
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
|
1
.github/workflows/ios.yml
vendored
1
.github/workflows/ios.yml
vendored
@ -1,7 +1,6 @@
|
|||||||
name: CI_iOS
|
name: CI_iOS
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@ include(FetchContent)
|
|||||||
FetchContent_Declare(googletest
|
FetchContent_Declare(googletest
|
||||||
GIT_REPOSITORY https://github.com/google/googletest.git
|
GIT_REPOSITORY https://github.com/google/googletest.git
|
||||||
GIT_TAG 1b18723e874b256c1e39378c6774a90701d70f7a)
|
GIT_TAG 1b18723e874b256c1e39378c6774a90701d70f7a)
|
||||||
|
set(INSTALL_GTEST OFF CACHE BOOL "" FORCE)
|
||||||
|
set(BUILD_GMOCK OFF CACHE BOOL "" FORCE)
|
||||||
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
||||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||||
FetchContent_MakeAvailable(googletest)
|
FetchContent_MakeAvailable(googletest)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user