File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ updates :
4+ - package-ecosystem : " github-actions"
5+ directory : " /"
6+ target-branch : " extremelywip"
7+ schedule :
8+ interval : " weekly"
9+ groups :
10+ actions :
11+ patterns :
12+ - " *"
13+ commit-message :
14+ prefix : " ci"
15+
16+ - package-ecosystem : " gitsubmodule"
17+ directory : " /"
18+ target-branch : " extremelywip"
19+ schedule :
20+ interval : " monthly"
21+ commit-message :
22+ prefix : " build"
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ branches : ["extremelywip"]
7+ paths-ignore :
8+ - " README.md"
9+ - " ROADMAP.md"
10+ - " CONTRIBUTING.md"
11+
12+ permissions :
13+ contents : read
14+
15+ concurrency :
16+ group : ci-${{ github.event.pull_request.number || github.ref }}
17+ cancel-in-progress : true
18+
19+ jobs :
20+ linux-smoke :
21+ name : Linux build and startup smoke test
22+ runs-on : ubuntu-latest
23+ timeout-minutes : 20
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
27+ with :
28+ submodules : recursive
29+
30+ - name : Install dependencies
31+ run : |
32+ sudo apt-get update
33+ sudo apt-get install -y \
34+ g++ make xvfb xauth \
35+ libasound2-dev libx11-dev libxrandr-dev libxi-dev \
36+ libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev \
37+ libwayland-dev libxkbcommon-dev libcurl4-openssl-dev
38+
39+ - name : Build
40+ run : make -j"$(nproc)" linux
41+
42+ - name : Verify startup
43+ working-directory : dist/TLEscope-Linux-Portable
44+ env :
45+ LIBGL_ALWAYS_SOFTWARE : " 1"
46+ run : |
47+ mkdir -p "$RUNNER_TEMP/tlescope-home"
48+ set +e
49+ HOME="$RUNNER_TEMP/tlescope-home" \
50+ timeout 10s xvfb-run -a -s "-screen 0 1280x720x24" \
51+ ./TLEscope > "$RUNNER_TEMP/tlescope-smoke.log" 2>&1
52+ status=$?
53+ set -e
54+
55+ cat "$RUNNER_TEMP/tlescope-smoke.log"
56+
57+ if [ "$status" -eq 124 ]; then
58+ exit 0
59+ fi
60+
61+ echo "TLEscope exited before the smoke-test window completed (status $status)." >&2
62+ exit 1
You can’t perform that action at this time.
0 commit comments