optimized #263
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: LinuxMint | |
on: | |
push: | |
branches: [ 0.15.4 ] | |
pull_request: | |
branches: [ 0.15.4 ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
tag: [21.2, 20.1] | |
container: linuxmintd/mint${{ matrix.tag }}-amd64 | |
steps: | |
- run: id | |
- run: sudo apt -y update | |
- run: sudo apt -y install curl xz-utils g++ | |
- name: create ppkg formula for uppm package | |
run: | | |
tee uppm.yml <<EOF | |
summary: Universal Prebuild Package Manager | |
git-url: https://github.com/leleliu008/uppm | |
git-sha: ${{ github.sha }} | |
version: 0.0.0 | |
license: Apache-2.0 | |
dep-pkg: libcurl libgit2 libarchive libyaml libjansson | |
install: cmakew -DLINK_STATIC_LIBS=ON | |
EOF | |
- run: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg | |
- run: chmod a+x ppkg | |
- run: ./ppkg setup | |
- run: ./ppkg update | |
- run: ./ppkg install uppm -I . | |
- run: ./ppkg tree uppm | |
- run: ./ppkg pack uppm | |
- run: tar vxf uppm-*.tar.xz --strip-components=1 | |
- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> "$GITHUB_ENV" | |
- run: bin/uppm | |
- run: bin/uppm --help | |
- run: bin/uppm --version | |
- run: bin/uppm -h | |
- run: bin/uppm -V | |
- run: bin/uppm about | |
- run: bin/uppm about -v | |
- run: bin/uppm integrate zsh | |
- run: bin/uppm update | |
- run: bin/uppm search zip | |
- run: bin/uppm depends zip | |
- run: bin/uppm depends android-sdk | |
- run: bin/uppm depends android-sdk -t box | |
- run: bin/uppm depends android-sdk -t dot | |
- run: bin/uppm info-available unzip | |
- run: bin/uppm info-available unzip --json | |
- run: bin/uppm info-available unzip --yaml | |
- run: bin/uppm info-available unzip version | |
- run: bin/uppm info-available unzip license | |
- run: bin/uppm info-available unzip summary | |
- run: bin/uppm info-available unzip webpage | |
- run: bin/uppm info-available unzip bin-url | |
- run: bin/uppm info-available unzip bin-sha | |
- run: bin/uppm info-available unzip install | |
- run: bin/uppm info-available unzip formula | |
- run: bin/uppm fetch gzip | |
- run: bin/uppm fetch gsed -v | |
- run: bin/uppm install unzip | |
- run: bin/uppm info-installed unzip --prefix | |
- run: bin/uppm info-installed unzip --files | |
- run: bin/uppm info-installed unzip --json | |
- run: bin/uppm info-installed unzip --yaml | |
- run: bin/uppm info-installed unzip timestamp-unix | |
- run: bin/uppm info-installed unzip timestamp-iso-8601 | |
- run: bin/uppm info-installed unzip timestamp-rfc-3339 | |
- run: bin/uppm info-installed unzip version | |
- run: bin/uppm tree unzip | |
- run: bin/uppm tree unzip -L 3 | |
- run: | | |
sed -i '/^version: /c version: 1000' $(bin/uppm info-available unzip formula) | |
- run: bin/uppm ls-available | |
- run: bin/uppm ls-installed | |
- run: bin/uppm ls-outdated | |
- run: bin/uppm is-available curl | |
- run: bin/uppm is-installed unzip | |
- run: bin/uppm is-outdated unzip || echo not outdated | |
- run: bin/uppm upgrade unzip | |
- run: bin/uppm reinstall unzip | |
- run: bin/uppm uninstall unzip | |
- run: bin/uppm formula-repo-list | |
- run: bin/uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 | |
- run: bin/uppm formula-repo-del my_repo | |
- run: bin/uppm cleanup |