-
Notifications
You must be signed in to change notification settings - Fork 3
144 lines (101 loc) · 4.83 KB
/
alpine.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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
name: AlpineLinux
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: ['3.19','3.18','3.17','3.16']
container: alpine:${{ matrix.tag }}
steps:
- run: apk update
- run: apk add curl g++ libc-dev linux-headers
- uses: actions/checkout@v4
- run: ./ppkg --help
- run: ./ppkg --version
- run: ./ppkg setup
- run: ./ppkg about
- run: ./ppkg integrate zsh
- run: ./ppkg update
- run: ./ppkg search lib
- run: ./ppkg search uctags
- run: ./ppkg info-available uctags
- run: ./ppkg info-available uctags --yaml
- run: ./ppkg info-available uctags --json
- run: ./ppkg info-available uctags version
- run: ./ppkg info-available uctags license
- run: ./ppkg info-available uctags summary
- run: ./ppkg info-available uctags web-url
- run: ./ppkg info-available uctags git-url
- run: ./ppkg info-available uctags git-sha
- run: ./ppkg info-available uctags git-ref
- run: ./ppkg info-available uctags src-url
- run: ./ppkg info-available uctags src-sha
- run: ./ppkg depends uctags
- run: ./ppkg install uctags
- run: ./ppkg tree uctags
- run: ./ppkg info-installed uctags installed-dir
- run: ./ppkg info-installed uctags installed-files
- run: ./ppkg info-available uctags version
- run: ./ppkg info-installed uctags builtat-iso-8601-utc
- run: ./ppkg info-installed uctags builtat-iso-8601
- run: ./ppkg info-installed uctags builtat-rfc-3339
- run: ./ppkg info-installed uctags builtat-iso-8601-utc
- run: ./ppkg info-installed uctags builtat-rfc-3339-utc
- run: ./ppkg pack uctags
- run: ./ppkg pack uctags -t tar.gz
- run: ./ppkg pack uctags -t tar.lz
- run: ./ppkg pack uctags -t tar.xz
- run: ./ppkg pack uctags -t tar.bz2
- run: ./ppkg pack uctags -t zip
- run: apk add alpine-sdk
# https://wiki.alpinelinux.org/wiki/Include:Abuild-keygen
# https://github.com/alpinelinux/abuild/blob/master/abuild-keygen.in
- run: openssl genrsa -out [email protected] 2048
- run: openssl rsa -in [email protected] -pubout -out [email protected]
- run: cp [email protected] /etc/apk/keys/
- run: install -d ~/.abuild/
- run: printf 'PACKAGER_PRIVKEY="%s"\n' "$PWD/[email protected]" > ~/.abuild/abuild.conf
- run: ./ppkg export.apk uctags
- run: ./ppkg export.apk uctags -o ~/
- run: ./ppkg export.apk uctags -o a/b.apk
- run: apk add a/b.apk
- run: apk info -L uctags
- run: |
printf '%s\n' 'version: 1000' >> ~/.ppkg/repos.d/official-core/formula/libyaml.yml
- run: ./ppkg ls-available
- run: ./ppkg ls-installed
- run: ./ppkg ls-outdated
- run: ./ppkg is-available uctags
- run: ./ppkg is-installed uctags
- run: ./ppkg is-outdated libyaml
- run: ./ppkg upgrade uctags
- run: ./ppkg reinstall uctags
- run: ./ppkg uninstall uctags
- run: ./ppkg fetch curl
- run: ./ppkg cleanup
- run: ./ppkg upgrade-self
- run: ./ppkg formula-repo-list
- run: ./ppkg formula-repo-add my_repo1 https://github.com/leleliu008/ppkg-formula-repository-official-core
- run: ./ppkg formula-repo-add my_repo2 https://github.com/leleliu008/ppkg-formula-repository-official-core --branch=master
- run: ./ppkg formula-repo-add my_repo3 https://github.com/leleliu008/ppkg-formula-repository-official-core --unpin
- run: ./ppkg formula-repo-add my_repo4 https://github.com/leleliu008/ppkg-formula-repository-official-core --unpin --disable
- run: ./ppkg formula-repo-list
- run: ./ppkg formula-repo-init my_repo10 https://github.com/leleliu008/ppkg-formula-repository-official-core
- run: ./ppkg formula-repo-init my_repo11 https://github.com/leleliu008/ppkg-formula-repository-official-core --branch=main
- run: ./ppkg formula-repo-init my_repo12 https://github.com/leleliu008/ppkg-formula-repository-official-core --unpin
- run: ./ppkg formula-repo-init my_repo13 https://github.com/leleliu008/ppkg-formula-repository-official-core --unpin --disable
- run: ./ppkg formula-repo-list
- run: ./ppkg formula-repo-conf my_repo1 --url=https://github.com/leleliu008/ppkg-formula-repository-official-core
- run: ./ppkg formula-repo-conf my_repo2 --branch=master --unpin
- run: ./ppkg formula-repo-conf my_repo3 --pin
- run: ./ppkg formula-repo-conf my_repo4 --pin --enable
- run: ./ppkg formula-repo-list
- run: ./ppkg formula-repo-sync my_repo2
- run: ./ppkg formula-repo-info my_repo2
- run: ./ppkg formula-repo-del my_repo1