Skip to content

Commit

Permalink
ENH: Switch to host build (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Apr 2, 2024
1 parent 5f78087 commit 697e165
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,31 @@ 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/[email protected]
with:
cmake-version: "3.16.3"

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: "5.15.2"
arch: "gcc_64"

- name: Configure CTK
run: |
mkdir /usr/src/CTK-build
cd /usr/src/CTK-build
cmake --version
cmake \
-DCTK_QT_VERSION:STRING=5 \
-DCTK_ENABLE_Widgets:BOOL=ON \
../CTK
make -j4
-B CTK-build -S .
cat CTK-build/CMakeCache.txt | grep ^Qt5_DIR
- name: Build CTK
run: |
cmake \
--build CTK-build -- -j4

0 comments on commit 697e165

Please sign in to comment.