Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <leleliu008@gmail.com>
  • Loading branch information
leleliu008 committed Jun 30, 2024
1 parent a22f0da commit 31099a8
Show file tree
Hide file tree
Showing 23 changed files with 114 additions and 104 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/alpinelinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh
- run: ./output/bin/uppm integrate zsh -v
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh

Expand Down
30 changes: 16 additions & 14 deletions .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@ jobs:
- 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: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
- run: chmod a+x ppkg

- run: ./ppkg setup
- run: ./ppkg update

- run: |
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
- run: ./ppkg install uppm
- run: ./ppkg tree uppm


- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
Expand All @@ -47,8 +49,8 @@ jobs:
- 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 env
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -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

Expand Down Expand Up @@ -148,8 +150,8 @@ jobs:
- 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 env
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -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

Expand Down Expand Up @@ -255,8 +257,8 @@ jobs:
- 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 env
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -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

Expand Down
23 changes: 13 additions & 10 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,18 @@ jobs:

- 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: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
- run: chmod a+x ppkg

- run: ./ppkg setup
- run: ./ppkg update

- run: |
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
- run: ./ppkg install uppm
- run: ./ppkg tree uppm


- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
Expand All @@ -46,8 +49,8 @@ jobs:
- 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 env
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
run ./output/bin/uppm -h
run ./output/bin/uppm -V
run ./output/bin/uppm env
run ./output/bin/uppm env -v
run ./output/bin/uppm about
run ./output/bin/uppm about -v
run ./output/bin/uppm integrate zsh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gentoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh

Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/linuxmint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ jobs:

- 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: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
- run: chmod a+x ppkg

- run: ./ppkg update
- run: ./ppkg install uppm
- run: ./ppkg tree uppm
- run: ./ppkg setup
- run: ./ppkg update

- run: |
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
- run: ./ppkg install uppm
- run: ./ppkg tree uppm



Expand All @@ -47,8 +49,8 @@ jobs:
- 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 env
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -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

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh -v

Expand Down Expand Up @@ -163,8 +163,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh -v

Expand Down Expand Up @@ -279,8 +279,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh -v

Expand Down Expand Up @@ -392,8 +392,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh -v

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manjaro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/netbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
run ./output/bin/uppm -h
run ./output/bin/uppm -V
run ./output/bin/uppm env
run ./output/bin/uppm env -v
run ./output/bin/uppm about
run ./output/bin/uppm about -v
run ./output/bin/uppm integrate zsh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
run ./output/bin/uppm -h
run ./output/bin/uppm -V
run ./output/bin/uppm env
run ./output/bin/uppm env -v
run ./output/bin/uppm about
run ./output/bin/uppm about -v
run ./output/bin/uppm integrate zsh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/opensuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh

Expand Down
23 changes: 13 additions & 10 deletions .github/workflows/ppkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ jobs:
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: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
- run: chmod a+x ppkg

- run: ./ppkg setup
- run: ./ppkg update

- run: |
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
- run: ./ppkg install uppm
- run: ./ppkg tree uppm


- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
Expand All @@ -41,8 +44,8 @@ jobs:
- 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 env
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -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

Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/rockylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,18 @@ jobs:
- 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: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
- run: chmod a+x ppkg

- run: ./ppkg setup
- run: ./ppkg update

- run: |
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
- run: ./ppkg install uppm
- run: ./ppkg tree uppm


- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
Expand All @@ -49,8 +51,8 @@ jobs:
- 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 env
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
- run: ./output/bin/uppm -h
- run: ./output/bin/uppm -V

- run: ./output/bin/uppm env
- run: ./output/bin/uppm env -v
- run: ./output/bin/uppm about
- run: ./output/bin/uppm about -v

- run: ./output/bin/uppm integrate zsh

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
- run: $VALGRIND ./output/bin/uppm -h
- run: $VALGRIND ./output/bin/uppm -V

- run: $VALGRIND ./output/bin/uppm env
- run: $VALGRIND ./output/bin/uppm env -v
- run: $VALGRIND ./output/bin/uppm about
- run: $VALGRIND ./output/bin/uppm about -v

- run: $VALGRIND ./output/bin/uppm integrate zsh

Expand Down
Loading

0 comments on commit 31099a8

Please sign in to comment.