-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make googletest not be a git submodule, and instead clone it separate…
…ly in the CI script (#745)
- Loading branch information
Showing
3 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,9 @@ jobs: | |
with: | ||
node-version: '16' | ||
- name: Get GoogleTest | ||
run: git submodule update --init | ||
run: | | ||
cd CPP/Tests | ||
git clone https://github.com/google/googletest | ||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
- name: Build | ||
|
@@ -32,7 +34,9 @@ jobs: | |
with: | ||
node-version: '16' | ||
- name: Get GoogleTest | ||
run: git submodule update --init | ||
run: | | ||
cd CPP/Tests | ||
git clone https://github.com/google/googletest | ||
- name: Build | ||
run: | | ||
mkdir CPP/build | ||
|
@@ -51,7 +55,9 @@ jobs: | |
with: | ||
node-version: '16' | ||
- name: Get GoogleTest | ||
run: git submodule update --init | ||
run: | | ||
cd CPP/Tests | ||
git clone https://github.com/google/googletest | ||
- name: Install gcc 11 | ||
run: | | ||
sudo apt update | ||
|
@@ -75,7 +81,9 @@ jobs: | |
with: | ||
node-version: '16' | ||
- name: Get GoogleTest | ||
run: git submodule update --init | ||
run: | | ||
cd CPP/Tests | ||
git clone https://github.com/google/googletest | ||
- name: Build | ||
run: | | ||
export CC=/usr/bin/clang | ||
|
@@ -96,7 +104,9 @@ jobs: | |
with: | ||
node-version: '16' | ||
- name: Get GoogleTest | ||
run: git submodule update --init | ||
run: | | ||
cd CPP/Tests | ||
git clone https://github.com/google/googletest | ||
- name: Install clang 13 | ||
run: | | ||
wget https://apt.llvm.org/llvm.sh | ||
|
@@ -122,7 +132,9 @@ jobs: | |
with: | ||
node-version: '16' | ||
- name: Get GoogleTest | ||
run: git submodule update --init | ||
run: | | ||
cd CPP/Tests | ||
git clone https://github.com/google/googletest | ||
- name: Build | ||
run: | | ||
mkdir CPP/build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "CPP/Tests/googletest"] | ||
path = CPP/Tests/googletest | ||
url = https://github.com/google/googletest | ||
Submodule googletest
deleted from
5e6a53