forked from prusa3d/PrusaSlicer
-
-
Notifications
You must be signed in to change notification settings - Fork 527
50 lines (46 loc) · 1.34 KB
/
ccpp_ubuntu_gtk3.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
47
48
49
50
name: C/C++ Nightly ubuntu-GTK3
on:
push:
branches:
- Nigthly
- nightly_dev
- nightly_master
- debug_ubuntu
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.16.x'
- name: update clock
run: sudo hwclock -s
- name: update apt
run: sudo apt update
- name: install gtk3
run: sudo apt install libgtk-3-dev
- name: install libs
run: sudo ./BuildLinux.sh -u
- name: dep cache
id: cache-action
uses: actions/cache@v3
with:
key: ubu_gtk3_2.7
path: deps/build/destdir
- if: steps.cache-action.outputs.cache-hit != 'true'
name: build deps if new cache
run: ./BuildLinux.sh -d
- name: slicer, tar & appimage
run: ./BuildLinux.sh -siv
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: nightly_${{ github.event.repository.name }}-linux-x64-GTK3.tgz
path: build/${{ github.event.repository.name }}-linux-x64-GTK3.tgz
- name: Upload appimage
uses: actions/upload-artifact@v4
with:
name: nightly_${{ github.event.repository.name }}-linux-x64-GTK3.AppImage
path: build/${{ github.event.repository.name }}-linux-x64-GTK3.AppImage