Compare commits

..

2 Commits

Author SHA1 Message Date
77cb49a32c Update cmake.yml
Some checks failed
CMake / build (push) Failing after 1m23s
2023-11-26 13:44:37 +01:00
e0ea1c1ce9 Update cmake.yml 2023-11-26 13:42:37 +01:00

View File

@@ -17,13 +17,12 @@ jobs:
# You can convert this to a matrix build if you need cross-platform coverage. # 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 # 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 runs-on: ubuntu-latest
container: gcc
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: install everything - 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 - 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. # 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) run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel $(nproc)
- name: Test - name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration. # Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail # 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}}