-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (44 loc) · 1.03 KB
/
packager.yml
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
46
name: PKG
on:
push:
branches:
- master
paths-ignore:
- "*.md"
- "*.gitignore"
- "*.txt"
- "!CMakeLists.txt"
- "*.png"
- "*.mtx"
- "*.mm"
workflow_dispatch:
jobs:
packager:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
steps:
- name: Install toolchain
run: |
sudo apt update
sudo apt install gcc-13 g++-13
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: |
./build.sh \
-t Release \
-o "-DCMAKE_CXX_COMPILER=/usr/bin/g++-13" \
-p
- name: Upload binary artifact
uses: actions/upload-artifact@v3
with:
name: release-ubuntu
path: build/*Linux.zip
- name: Upload source artifact
uses: actions/upload-artifact@v3
with:
name: release-source
path: build/*Source.zip