-
Notifications
You must be signed in to change notification settings - Fork 2
106 lines (76 loc) · 4.95 KB
/
ubuntu-ppkg.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
name: build with ppkg on ubuntu
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ppkg:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: install ppkg
run: |
curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
chmod a+x ppkg
./ppkg setup
- run: ./ppkg update
- run: ./ppkg install uppm
- run: ./ppkg tree uppm
- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm --help
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm --version
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about -v
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm update
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm search zip
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm depends zip
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm depends android-sdk
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm depends android-sdk -t box
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm depends android-sdk -t dot
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed --json
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed --yaml
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed version
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed license
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed summary
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed webpage
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed bin-url
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed bin-sha
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed install
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed formula
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm fetch gtar
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm fetch gtar -v
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm install gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --files
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --json
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --yaml
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-unix
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-iso-8601
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-rfc-3339
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed version
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm tree gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm tree gsed -L 3
- run: |
printf '%s\n' 'version: 1000' >> ~/.uppm/repos.d/official-core/formula/gsed.yml
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm ls-available
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm ls-installed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm ls-outdated
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm is-available curl
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm is-installed gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm is-outdated gsed || echo not outdated
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm upgrade gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm reinstall gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm uninstall gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm formula-repo-list
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-linux-x86_64
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm formula-repo-del my_repo
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm cleanup