-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Switch from CircleCI to GitHub Action for building CTK
- Loading branch information
Showing
2 changed files
with
35 additions
and
66 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |