Skip to content

Commit b98e5d3

Browse files
committed
CI/CD - add build job for Linux
1 parent 7efeee0 commit b98e5d3

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build (Linux/GCC)
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
7+
workflow_dispatch:
8+
9+
jobs:
10+
Ubuntu:
11+
runs-on: ubuntu-24.04
12+
steps:
13+
- name: Clone Tree
14+
uses: actions/checkout@v1
15+
with:
16+
fetch-depth: 1
17+
- name: Install Dependencies
18+
run: |
19+
sudo apt-get update
20+
sudo apt-get install -y \
21+
g++ cmake ninja-build \
22+
libocct-draw-dev libocct-visualization-dev libocct-ocaf-dev libocct-modeling-data-dev \
23+
libocct-modeling-algorithms-dev libocct-foundation-dev libocct-data-exchange-dev \
24+
libgl-dev libegl-dev \
25+
tcllib tklib tcl-dev tk-dev \
26+
libtbb-dev \
27+
qtbase5-dev qtdeclarative5-dev qml-module-qtquick-controls2 qml-module-qtquick-templates2 \
28+
xvfb
29+
- name: Configure project
30+
run: |
31+
mkdir "build"
32+
cmake -G Ninja -S . -B "./build"
33+
- name: Build project
34+
run: |
35+
cmake --build "./build" --config Release

0 commit comments

Comments
 (0)