From d6a08e7d417a9fa843d44023a79173c26140d135 Mon Sep 17 00:00:00 2001 From: Benoit LELANDAIS Date: Mon, 17 Jul 2023 09:26:32 +0200 Subject: [PATCH] Cmake CI removed --- .github/workflows/cmake-mainline-ci.yml | 58 ------------------------- 1 file changed, 58 deletions(-) delete mode 100644 .github/workflows/cmake-mainline-ci.yml diff --git a/.github/workflows/cmake-mainline-ci.yml b/.github/workflows/cmake-mainline-ci.yml deleted file mode 100644 index 78fd9b4..0000000 --- a/.github/workflows/cmake-mainline-ci.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Cmake CI on mainline - -on: - push: - branches: - - '**' - tags: - - '*' - pull_request: - workflow_dispatch: - -env: - QT_QPA_PLATFORM: offscreen - -jobs: - main: - name: CMake build & run mainline - # The CMake configure and build commands are platform agnostic and should work equally - # well on Linux, Windows or Mac. - runs-on: ubuntu-latest - container: - image: ghcr.io/lihpc-computational-geometry/cmake-cgcore:latest - strategy: - fail-fast: false - - steps: - - name: Checkout TkUtil source code from GitHub - uses: actions/checkout@v3 - with: - repository: LIHPC-Computational-Geometry/tkutil - path: tkutil - - - name: Build TkUtil with Cmake - shell: bash - run: | - cmake -S $GITHUB_WORKSPACE/tkutil -B build/tkutil -DUSE_PYTHON_3:BOOL=ON --install-prefix=/tkutil-install - cmake --build build/tkutil --target install - - - name: Checkout QtUtil source code from GitHub - uses: actions/checkout@v3 - with: - path: qtutil - - - name: Build QtUtil with Cmake - shell: bash - run: | - cmake -S $GITHUB_WORKSPACE/qtutil -B build/qtutil -DCMAKE_PREFIX_PATH=/tkutil-install --install-prefix=/${{ github.event.repository.name }}-install - cmake --build build/qtutil --target install - - - name: Test of link on QtUtil - shell: bash - run: | - cd qtutil/test_link/ - cp ../CMakePresets.json . - # Do not use ${{ github.event.repository.name }}_ROOT variable: package names != project names (sometimes) - cmake -S . -B build --preset=ci -DCMAKE_PREFIX_PATH=/${{ github.event.repository.name }}-install - cmake --build build - cmake --build build --target test