Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make googletest not be a git submodule, and instead clone it separately in the CI script #745

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions .github/workflows/actions_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
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
1 change: 0 additions & 1 deletion CPP/Tests/googletest
Submodule googletest deleted from 5e6a53
Loading