Skip to content

Commit

Permalink
build server to Ci added
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz126 committed Apr 21, 2024
1 parent 120f1b7 commit 381bb37
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_basic.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Basic CI ubuntu
name: Basic CI ubuntu communicator

on: [push, pull_request, workflow_dispatch]

Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/ci_basic_server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Basic CI ubuntu server

on: [push, pull_request, workflow_dispatch]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
BUILD_PATH: ${{github.workspace}}/server/build
SOURCE: ${{github.workspace}}/server

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}}

0 comments on commit 381bb37

Please sign in to comment.