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 9ddbaad
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[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: "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

0 comments on commit 9ddbaad

Please sign in to comment.