optimized #761
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |