Skip to content

Commit

Permalink
Pin the Catch2 dependency and update CI YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
kareali committed Oct 16, 2020
1 parent 102e46e commit 1b254d3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install Catch2
working-directory: ${{ github.workspace }}
run: |
git clone https://github.com/catchorg/Catch2.git
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
cd Catch2
mkdir build
cd build
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: install Catch2
working-directory: ${{ github.workspace }}
run: |
git clone https://github.com/catchorg/Catch2.git
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
cd Catch2
mkdir build
cd build
Expand All @@ -97,7 +97,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/Cellar/[email protected]/1.1.1g/ -DOPENSSL_LIBRARIES=/usr/local/Cellar/[email protected]/1.1.1g/lib/
cmake ..
make
windows:
runs-on: windows-latest
Expand All @@ -121,7 +121,7 @@ jobs:
$env:Path += ";C:\Program Files\OpenSSL\bin"
- name: Install Catch2
run: |
git clone https://github.com/catchorg/Catch2.git
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
cd Catch2
mkdir build
cd build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ install:
- make
- sudo make install
- cd $TRAVIS_BUILD_DIR
- git clone https://github.com/catchorg/Catch2.git
- git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
- cd Catch2
- mkdir -p build
- cd build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ RUN git clone https://github.com/openssl/openssl.git && \
make all && \
cd /home/dependencies

RUN git clone https://github.com/catchorg/Catch2.git && \
RUN git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git && \
cd Catch2 && \
mkdir build && \
cd build && \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Run the ./Configure command without any arguments to check the available platfor

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

git clone https://github.com/catchorg/Catch2.git
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
cd Catch2
mkdir build
cd build
Expand Down
2 changes: 1 addition & 1 deletion windows-localproxy-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Update PATH environment variable to add the dll for openssl which is inside C:\Program Files\OpenSSL\bin
* Download and install catch2
* Use Visual Studio native tool command prompt in admin mode.
* `git clone https://github.com/catchorg/Catch2.git`
* `git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git`
* `cd Catch2`
* `mkdir build`
* `cd build`
Expand Down

0 comments on commit 1b254d3

Please sign in to comment.