diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67f6f1e608..21d2c983d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,19 +17,25 @@ permissions: jobs: build: - name: Build CTK runs-on: ubuntu-latest - container: - image: slicer/buildenv-qt5-centos7:latest steps: - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - - name: "Build Slicer" + - name: Setup cmake + uses: jwlawson/actions-setup-cmake@v1.14 + with: + cmake-version: "3.16.3" + + - name: Install Qt + uses: jurplel/install-qt-action@v3 + with: + version: "5.15.2" + arch: "gcc_64" + + - name: "Build CTK" run: | - mkdir /usr/src/CTK-build - cd /usr/src/CTK-build cmake \ -DCTK_QT_VERSION:STRING=5 \ -DCTK_ENABLE_Widgets:BOOL=ON \ - ../CTK + -B CTK-build -S . make -j4