-
Notifications
You must be signed in to change notification settings - Fork 112
85 lines (75 loc) · 2.39 KB
/
Copy pathci-imgui-debian13.yml
File metadata and controls
85 lines (75 loc) · 2.39 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: Build ImGUI on Debian 13
on:
push:
branches: [ main ]
paths:
- "src/**"
- "!src/Plugins/Macos/**"
- "!src/Plugins/Windows/**"
- "tests/**"
- "lolly/**"
- "moebius/**"
- "xmake.lua"
- 'xmake/options.lua'
- 'xmake/requires.lua'
- 'xmake/targets/**'
- "xmake/packages.lua"
- "xmake/packages/**"
- ".github/workflows/ci-imgui-debian13.yml"
- "TeXmacs/tests/*.scm"
- "3rdparty/**"
pull_request:
branches: [ main ]
paths:
- "src/**"
- "!src/Plugins/Macos/**"
- "!src/Plugins/Windows/**"
- "tests/**"
- "lolly/**"
- "moebius/**"
- "xmake.lua"
- 'xmake/options.lua'
- 'xmake/requires.lua'
- 'xmake/targets/**'
- "xmake/packages.lua"
- "xmake/packages/**"
- ".github/workflows/ci-imgui-debian13.yml"
- "TeXmacs/tests/*.scm"
- "3rdparty/**"
workflow_dispatch:
env:
XMAKE_ROOT: y
XMAKE_GLOBALDIR: /tmp/xmake-global
jobs:
build:
container: debian:13
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Install dependencies
run: |
DEBIAN_FRONTEND=noninteractive apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y gcc g++ git curl build-essential cmake \
libpng-dev libcurl4-openssl-dev libx11-dev libxcursor-dev libxi-dev \
libxinerama-dev libxrandr-dev libgl1-mesa-dev libxkbcommon-dev \
python3.13 python3.13-venv python3-pip ninja-build pkg-config unzip 7zip
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: git add safe directory
run: git config --global --add safe.directory '*'
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v3.0.7
- name: xmake repo --update
run: xmake repo --update
- name: cache packages from xrepo
uses: actions/cache@v4
with:
path: /tmp/xmake-global/.xmake/packages
key: ${{ runner.os }}-xrepo-imgui-${{ hashFiles('xmake/vars.lua', 'lolly/xmake.lua', 'moebius/xmake.lua', 'xmake/requires.lua') }}
- name: config
run: xmake config -vD --qt_frontend=no --loro=yes --policies=build.ccache --yes
- name: build stem
run: xmake b -vD stem