mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-26 02:17:48 +02:00
Compare commits
2 Commits
c838ac0238
...
77cb49a32c
| Author | SHA1 | Date | |
|---|---|---|---|
| 77cb49a32c | |||
| e0ea1c1ce9 |
6
.github/workflows/cmake.yml
vendored
6
.github/workflows/cmake.yml
vendored
@@ -17,13 +17,12 @@ jobs:
|
||||
# You can convert this to a matrix build if you need cross-platform coverage.
|
||||
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||
runs-on: ubuntu-latest
|
||||
container: gcc
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: install everything
|
||||
run: apt-get update && apt-get install -y fuse libfuse-dev cmake
|
||||
run: apt-get update && apt-get install -y fuse libfuse-dev cmake build-essential gcc g++ libssl-dev zlib1g-dev
|
||||
|
||||
- name: Configure CMake
|
||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
@@ -35,7 +34,6 @@ jobs:
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel $(nproc)
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{github.workspace}}/build
|
||||
# Execute tests defined by the CMake configuration.
|
||||
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
||||
run: ctest --verbose --parallel $(nproc) -C ${{env.BUILD_TYPE}}
|
||||
run: ctest --test-dir ${{github.workspace}}/build --verbose --parallel $(nproc) -C ${{env.BUILD_TYPE}}
|
||||
|
||||
Reference in New Issue
Block a user