Skip to content

Commit e18ce4e

Browse files
committed
Merge remote-tracking branch 'termux/master'
2 parents bcdc064 + 576cdda commit e18ce4e

554 files changed

Lines changed: 6040 additions & 1656 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Zig validation
2+
3+
permissions:
4+
contents: read
5+
actions: write
6+
7+
on:
8+
workflow_dispatch:
9+
pull_request:
10+
paths:
11+
- 'packages/zig/build.sh'
12+
- 'scripts/build/setup/termux_setup_zig.sh'
13+
14+
jobs:
15+
planning:
16+
runs-on: ubuntu-slim
17+
strategy:
18+
matrix:
19+
target_arch: [aarch64, arm, i686, x86_64]
20+
steps:
21+
- name: Clone repository
22+
uses: actions/checkout@v6
23+
with:
24+
fetch-depth: 1
25+
- name: Generate test matrix list
26+
run: ./scripts/bin/validation ${{ matrix.target_arch }} zig list | tee list.txt
27+
- name: Get test matrix batch
28+
id: list
29+
run: |
30+
echo "batch=$(grep -Po '^Batches \(actual\):\s*\K(\d+)' list.txt | python3 -c 'import json,sys;num = int(sys.stdin.readline().rstrip());print(json.dumps([i for i in range(1, num+1)]))')" | tee -a "$GITHUB_OUTPUT"
31+
outputs:
32+
batch: ${{ steps.list.outputs.batch }}
33+
zig_validation:
34+
needs: planning
35+
runs-on: ubuntu-latest
36+
strategy:
37+
matrix:
38+
target_arch: [aarch64, arm, i686, x86_64]
39+
batch: ${{ fromJson(needs.planning.outputs.batch) }}
40+
fail-fast: false
41+
steps:
42+
- name: Clone repository
43+
uses: actions/checkout@v6
44+
with:
45+
fetch-depth: 1
46+
- name: Set process id limit for 32-bit builds depending on aosp-libs
47+
run: echo 65535 | sudo tee /proc/sys/kernel/pid_max
48+
- name: Enable zram
49+
if: ${{ steps.build-info.outputs.skip-building != 'true' }}
50+
uses: ./.github/actions/zram
51+
with:
52+
algorithm: zstd
53+
size: 16G
54+
priority: 100
55+
device_name: /dev/zram0
56+
- name: Prepare environment
57+
run: |
58+
./scripts/setup-ubuntu.sh
59+
./scripts/setup-android-sdk.sh
60+
./scripts/free-space.sh
61+
- name: Zig validation
62+
run: ./scripts/bin/validation ${{ matrix.target_arch }} zig ${{ matrix.batch }} || exit 1
63+
- name: Upload report artifact
64+
if: always()
65+
uses: actions/upload-artifact@v6
66+
with:
67+
name: report-${{ matrix.target_arch }}-${{ matrix.batch }}
68+
path: /tmp/zig-validation-report.txt

CODEOWNERS

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,9 @@
8888
/packages/slides/ @thunder-coding
8989

9090
# Packages owned by @TomJo2000
91-
/packages/bash-completion/ @TomJo2000
9291
/packages/bash/ @TomJo2000
92+
/packages/bash-completion/ @TomJo2000
9393
/packages/borgbackup/ @TomJo2000
94-
/packages/coreutils/ @TomJo2000
9594
/packages/diffutils/ @TomJo2000
9695
/packages/eza/ @TomJo2000
9796
/packages/git/ @TomJo2000
@@ -104,13 +103,16 @@
104103
/packages/lua-language-server/ @TomJo2000
105104
/packages/lua-lpeg/ @TomJo2000
106105
/packages/mandoc/ @TomJo2000
106+
/packages/marksman/ @TomJo2000
107107
/packages/moreutils/ @TomJo2000
108108
/packages/mpv/ @TomJo2000
109109
/packages/ncdu/ @TomJo2000
110110
/packages/ncdu2/ @TomJo2000
111111
/packages/neovim/ @TomJo2000
112+
/packages/neovim-nightly/ @TomJo2000
112113
/packages/nerdfix/ @TomJo2000
113114
/packages/openssh/ @TomJo2000
115+
/packages/python-yt-dlp/ @TomJo2000
114116
/packages/rip2/ @TomJo2000
115117
/packages/rsgain/ @TomJo2000
116118
/packages/rsync/ @TomJo2000
@@ -120,7 +122,6 @@
120122
/packages/tinymist/ @TomJo2000
121123
/packages/tmux/ @TomJo2000
122124
/packages/tree-sitter* @TomJo2000
123-
/packages/typstfmt/ @TomJo2000
124125
/packages/vim/ @TomJo2000
125126
/packages/zls/ @TomJo2000
126127
/packages/zrok/ @TomJo2000
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/blade/packages-zlib-CMakeLists.txt.patch renamed to disabled-packages/blade/packages-zlib-CMakeLists.txt.patch

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)