Skip to content

ENH: Switch from CircleCI to GitHub Action for building CTK #2

ENH: Switch from CircleCI to GitHub Action for building CTK

ENH: Switch from CircleCI to GitHub Action for building CTK #2

Workflow file for this run

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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- 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: |
cmake \
-DCTK_QT_VERSION:STRING=5 \
-DCTK_ENABLE_Widgets:BOOL=ON \
-B CTK-build -S .
make -j4