Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build server to Ci added #40

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
34 changes: 34 additions & 0 deletions .github/workflows/ci_basic_server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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.
modules: qtwebsockets

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