Skip to content

Fixes #37: Create main window for client application #50

Fixes #37: Create main window for client application

Fixes #37: Create main window for client application #50

Workflow file for this run

name: Basic CI ubuntu
on: [push, pull_request, workflow_dispatch]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
BUILD_PATH: ${{github.workspace}}/communicator/build
SOURCE: ${{github.workspace}}/communicator
TEST_BUILD_PATH: ${{github.workspace}}/communicator/tests/build
TEST_SOURCE: ${{github.workspace}}/communicator/tests
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Qt
uses: jurplel/install-qt-action@v3 # Installs Qt.
with:
version: '6.2.1' # The version of Qt to install.
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.22.1'
- name: Configure CMake
run: cmake -B ${{env.BUILD_PATH}} -S ${{env.SOURCE}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
# Build your program with the given configuration
run: cmake --build ${{env.BUILD_PATH}} --config ${{env.BUILD_TYPE}}
- name: Configure Test CMake
run: cmake -B ${{env.TEST_BUILD_PATH}} -S ${{env.TEST_SOURCE}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: BuildTests
# Build your program with the given configuration
run: cmake --build ${{env.TEST_BUILD_PATH}} --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{env.TEST_BUILD_PATH}}
run: ctest -C ${{env.BUILD_TYPE}}