Skip to content

Commit 6d1377a

Browse files
authored
Merge pull request #32 from KareemAliAWS/master
Pin the Catch2 dependency and update CI YAML
2 parents 102e46e + 1b254d3 commit 6d1377a

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Install Catch2
4040
working-directory: ${{ github.workspace }}
4141
run: |
42-
git clone https://github.com/catchorg/Catch2.git
42+
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
4343
cd Catch2
4444
mkdir build
4545
cd build
@@ -85,7 +85,7 @@ jobs:
8585
- name: install Catch2
8686
working-directory: ${{ github.workspace }}
8787
run: |
88-
git clone https://github.com/catchorg/Catch2.git
88+
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
8989
cd Catch2
9090
mkdir build
9191
cd build
@@ -97,7 +97,7 @@ jobs:
9797
run: |
9898
mkdir build
9999
cd build
100-
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/Cellar/[email protected]/1.1.1g/ -DOPENSSL_LIBRARIES=/usr/local/Cellar/[email protected]/1.1.1g/lib/
100+
cmake ..
101101
make
102102
windows:
103103
runs-on: windows-latest
@@ -121,7 +121,7 @@ jobs:
121121
$env:Path += ";C:\Program Files\OpenSSL\bin"
122122
- name: Install Catch2
123123
run: |
124-
git clone https://github.com/catchorg/Catch2.git
124+
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
125125
cd Catch2
126126
mkdir build
127127
cd build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ install:
2727
- make
2828
- sudo make install
2929
- cd $TRAVIS_BUILD_DIR
30-
- git clone https://github.com/catchorg/Catch2.git
30+
- git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
3131
- cd Catch2
3232
- mkdir -p build
3333
- cd build

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN git clone https://github.com/openssl/openssl.git && \
4545
make all && \
4646
cd /home/dependencies
4747

48-
RUN git clone https://github.com/catchorg/Catch2.git && \
48+
RUN git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git && \
4949
cd Catch2 && \
5050
mkdir build && \
5151
cd build && \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Run the ./Configure command without any arguments to check the available platfor
103103

104104
#### 5. Download and install Catch2 test framework
105105

106-
git clone https://github.com/catchorg/Catch2.git
106+
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
107107
cd Catch2
108108
mkdir build
109109
cd build

windows-localproxy-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* Update PATH environment variable to add the dll for openssl which is inside C:\Program Files\OpenSSL\bin
2727
* Download and install catch2
2828
* Use Visual Studio native tool command prompt in admin mode.
29-
* `git clone https://github.com/catchorg/Catch2.git`
29+
* `git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git`
3030
* `cd Catch2`
3131
* `mkdir build`
3232
* `cd build`

0 commit comments

Comments
 (0)