Skip to content

Commit

Permalink
ENH: Switch from CircleCI to GitHub Action for building CTK
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Apr 2, 2024
1 parent fb72e1a commit 5f78087
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 66 deletions.
66 changes: 0 additions & 66 deletions .circleci/config.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI (Build)

on:
# Triggers the workflow on push or pull request events
push:
branches:
- "master"
pull_request:
branches:
- "*"
# Allows running this workflow manually from the Actions tab
workflow_dispatch:


permissions:
contents: read

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"
run: |
mkdir /usr/src/CTK-build
cd /usr/src/CTK-build
cmake \
-DCTK_QT_VERSION:STRING=5 \
-DCTK_ENABLE_Widgets:BOOL=ON \
../CTK
make -j4

0 comments on commit 5f78087

Please sign in to comment.