github/workflow: install dependency 'catch2'
This commit is contained in:
parent
af223944b6
commit
e824962b85
11
.github/workflows/build-and-test.yml
vendored
11
.github/workflows/build-and-test.yml
vendored
@ -4,6 +4,17 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: catchorg/Catch2
|
||||
path: catch
|
||||
- name: Install catch
|
||||
working-directory: catch
|
||||
run: >
|
||||
mkdir build
|
||||
&& cd build
|
||||
&& cmake -DCMAKE_BUILD_TYPE=Release -DCATCH_BUILD_TESTING=Off ..
|
||||
&& sudo make install
|
||||
- name: Build, Test, Install
|
||||
shell: bash
|
||||
env:
|
||||
|
Reference in New Issue
Block a user