-
Notifications
You must be signed in to change notification settings - Fork 16
45 lines (36 loc) · 1.04 KB
/
Copy pathbuild-linux.yml
File metadata and controls
45 lines (36 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Build on Linux
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build-linux:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up CMake
run: sudo apt-get update && sudo apt-get install -y cmake
- name: Configure CMake
run: >
cmake -B ${{ github.workspace }}/build
-DCMAKE_CXX_STANDARD=17
-DCMAKE_BUILD_TYPE=Release
-S ${{ github.workspace }}
- name: Build
run: cmake --build ${{ github.workspace }}/build --config Release
- name: Debug Build Output
run: find . -name '*.so'
- name: Prepare Package folder
run: |
mkdir -p Package/UserPlugins
cp ./build/reaper_csurf_integrator.so Package/UserPlugins/
cp -r Scripts Package/
cp -r CSI Package/
shell: bash
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: CSI_linux
path: Package