optimized #535
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: voidlinux-glibc | |
on: | |
push: | |
branches: [ c ] | |
pull_request: | |
branches: [ c ] | |
jobs: | |
voidlinux: | |
runs-on: ubuntu-latest | |
container: voidlinux/voidlinux | |
steps: | |
# SSL certificate subject doesn't match host alpha.de.repo.voidlinux.org | |
# ERROR: [reposync] failed to fetch file `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata': Operation not permitted | |
- run: sed -i s/alpha.de.repo.voidlinux.org/repo-default.voidlinux.org/g /usr/share/xbps.d/* | |
- run: xbps-install -Syu xbps | |
- run: xbps-install -Suy ca-certificates | |
- run: xbps-install -Suy cmake ninja gcc pkg-config libcurl-devel libgit2-devel libarchive-devel libyaml-devel jansson-devel sqlite-devel | |
# https://github.com/actions/checkout/issues/334 | |
- uses: actions/checkout@v1 | |
- run: cmake -S . -B build.d -G Ninja -DCMAKE_INSTALL_PREFIX=./output -DCMAKE_VERBOSE_MAKEFILE=ON | |
- run: cmake --build build.d | |
- run: cmake --install build.d | |
- run: ./output/bin/ppkg | |
- run: ./output/bin/ppkg --help | |
- run: ./output/bin/ppkg -h | |
- run: ./output/bin/ppkg --version | |
- run: ./output/bin/ppkg -V | |
- run: ./output/bin/ppkg setup -v | |
- run: ./output/bin/ppkg about | |
- run: ./output/bin/ppkg about -v | |
- run: ./output/bin/ppkg integrate zsh | |
- run: ./output/bin/ppkg integrate zsh -v | |
- run: ./output/bin/ppkg update | |
- run: ./output/bin/ppkg search lib | |
- run: ./output/bin/ppkg search zip | |
- run: ./output/bin/ppkg info-available libzip | |
- run: ./output/bin/ppkg info-available libzip --yaml | |
- run: ./output/bin/ppkg info-available libzip --json | |
- run: ./output/bin/ppkg info-available libzip summary | |
- run: ./output/bin/ppkg info-available libzip version | |
- run: ./output/bin/ppkg info-available libzip license | |
- run: ./output/bin/ppkg info-available libzip web-url | |
- run: ./output/bin/ppkg info-available libzip src-url | |
- run: ./output/bin/ppkg info-available libzip src-sha | |
- run: ./output/bin/ppkg depends libzip | |
- run: ./output/bin/ppkg depends libzip -t dot | |
- run: ./output/bin/ppkg depends libzip -t box | |
- run: ./output/bin/ppkg fetch gzip | |
- run: ./output/bin/ppkg fetch gsed -v | |
- run: ./output/bin/ppkg install libzip | |
- run: ./output/bin/ppkg tree libzip | |
- run: ./output/bin/ppkg info-installed linux-glibc-x86_64/libzip --prefix | |
- run: ./output/bin/ppkg info-installed linux-glibc-x86_64/libzip --files | |
- run: ./output/bin/ppkg info-installed linux-glibc-x86_64/libzip --json | |
- run: ./output/bin/ppkg info-installed linux-glibc-x86_64/libzip --yaml | |
- run: ./output/bin/ppkg info-installed linux-glibc-x86_64/libzip builtat | |
- run: ./output/bin/ppkg info-installed linux-glibc-x86_64/libzip builtat-iso-8601 | |
- run: ./output/bin/ppkg info-installed linux-glibc-x86_64/libzip builtat-rfc-3339 | |
- run: ./output/bin/ppkg info-installed linux-glibc-x86_64/libzip version | |
- run: ./output/bin/ppkg pack libzip | |
- run: ./output/bin/ppkg pack libzip -t tar.gz | |
- run: ./output/bin/ppkg pack libzip -t tar.lz | |
- run: ./output/bin/ppkg pack libzip -t tar.xz | |
- run: ./output/bin/ppkg pack libzip -t tar.bz2 | |
- run: ./output/bin/ppkg pack libzip -t zip | |
- run: | | |
printf '%s\n' 'version: 1000' >> ~/.ppkg/repos.d/official-core/formula/libzip.yml | |
- run: ./output/bin/ppkg ls-available | |
- run: ./output/bin/ppkg ls-installed | |
- run: ./output/bin/ppkg ls-outdated | |
- run: ./output/bin/ppkg is-available libzip | |
- run: ./output/bin/ppkg is-installed libzip | |
- run: ./output/bin/ppkg is-outdated libzip | |
- run: ./output/bin/ppkg upgrade libzip | |
- run: ./output/bin/ppkg reinstall libzip | |
- run: ./output/bin/ppkg uninstall libzip | |
- run: ./output/bin/ppkg formula-repo-list | |
- run: ./output/bin/ppkg formula-repo-add my_repo https://github.com/leleliu008/ppkg-formula-repository-official-core | |
- run: ./output/bin/ppkg formula-repo-del my_repo | |
- run: ./output/bin/ppkg cleanup | |
#- run: ./output/bin/ppkg upgrade-self |