optimized #347
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 ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
alpinelinux: | |
strategy: | |
fail-fast: false | |
matrix: | |
tag: ['3.18', '3.17', '3.16','3.19'] | |
runs-on: ubuntu-latest | |
container: alpine:${{ matrix.tag }} | |
steps: | |
- run: df -h | |
- run: apk update | |
- run: apk add cmake ninja gcc pkgconf libc-dev curl-dev openssl-dev libgit2-dev libarchive-dev yaml-dev jansson-dev sqlite-dev | |
- uses: actions/checkout@main | |
- 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/uppm | |
- run: ./output/bin/uppm --help | |
- run: ./output/bin/uppm --version | |
- run: ./output/bin/uppm -h | |
- run: ./output/bin/uppm -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 | |
- run: ./output/bin/uppm update | |
- run: ./output/bin/uppm search zip | |
- run: ./output/bin/uppm depends zip | |
- run: ./output/bin/uppm depends android-sdk | |
- run: ./output/bin/uppm depends android-sdk -t box | |
- run: ./output/bin/uppm depends android-sdk -t dot | |
- run: ./output/bin/uppm depends android-sdk -t box -o . && ls | |
- run: ./output/bin/uppm depends android-sdk -t dot -o . && ls | |
- run: ./output/bin/uppm depends android-sdk -o android-sdk-dependencies.box && ls && rm android-sdk-dependencies.box | |
- run: ./output/bin/uppm depends android-sdk -o android-sdk-dependencies.dot && ls && rm android-sdk-dependencies.dot | |
- run: ./output/bin/uppm depends android-sdk -o android-sdk-dependencies && ls && rm android-sdk-dependencies | |
- run: ./output/bin/uppm depends android-sdk -o android-sdk-dependencies && ls && rm android-sdk-dependencies | |
- run: ./output/bin/uppm info-available unzip | |
- run: ./output/bin/uppm info-available unzip --json | |
- run: ./output/bin/uppm info-available unzip --yaml | |
- run: ./output/bin/uppm info-available unzip version | |
- run: ./output/bin/uppm info-available unzip license | |
- run: ./output/bin/uppm info-available unzip summary | |
- run: ./output/bin/uppm info-available unzip webpage | |
- run: ./output/bin/uppm info-available unzip bin-url | |
- run: ./output/bin/uppm info-available unzip bin-sha | |
- run: ./output/bin/uppm info-available unzip install | |
- run: ./output/bin/uppm info-available unzip formula | |
- run: ./output/bin/uppm fetch gzip | |
- run: ./output/bin/uppm fetch gsed -v | |
- run: ./output/bin/uppm install unzip | |
- run: ./output/bin/uppm info-installed unzip --prefix | |
- run: ./output/bin/uppm info-installed unzip --files | |
- run: ./output/bin/uppm info-installed unzip --json | |
- run: ./output/bin/uppm info-installed unzip --yaml | |
- run: ./output/bin/uppm info-installed unzip timestamp-unix | |
- run: ./output/bin/uppm info-installed unzip timestamp-iso-8601 | |
- run: ./output/bin/uppm info-installed unzip timestamp-rfc-3339 | |
- run: ./output/bin/uppm info-installed unzip version | |
- run: ./output/bin/uppm tree unzip | |
- run: ./output/bin/uppm tree unzip -L 3 | |
- run: | | |
sed -i '/^version: /c version: 1000' $(./output/bin/uppm info-available unzip formula) | |
- run: ./output/bin/uppm ls-available | |
- run: ./output/bin/uppm ls-installed | |
- run: ./output/bin/uppm ls-outdated | |
- run: ./output/bin/uppm is-available curl | |
- run: ./output/bin/uppm is-installed unzip | |
- run: ./output/bin/uppm is-outdated unzip || echo not outdated | |
- run: ./output/bin/uppm upgrade unzip | |
- run: ./output/bin/uppm reinstall unzip | |
- run: ./output/bin/uppm uninstall unzip | |
- run: ./output/bin/uppm formula-repo-list | |
- run: ./output/bin/uppm formula-repo-add my_repo1 https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 | |
- run: ./output/bin/uppm formula-repo-add my_repo2 https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 --branch=master | |
- run: ./output/bin/uppm formula-repo-add my_repo3 https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 --unpin | |
- run: ./output/bin/uppm formula-repo-add my_repo4 https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 --unpin --disable | |
- run: ./output/bin/uppm formula-repo-list | |
- run: ./output/bin/uppm formula-repo-init my_repo10 https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 | |
- run: ./output/bin/uppm formula-repo-init my_repo11 https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 --branch=main | |
- run: ./output/bin/uppm formula-repo-init my_repo12 https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 --unpin | |
- run: ./output/bin/uppm formula-repo-init my_repo13 https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 --unpin --disable | |
- run: ./output/bin/uppm formula-repo-list | |
- run: ./output/bin/uppm formula-repo-conf my_repo1 --url=https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 | |
- run: ./output/bin/uppm formula-repo-conf my_repo2 --branch=master --unpin | |
- run: ./output/bin/uppm formula-repo-conf my_repo3 --pin | |
- run: ./output/bin/uppm formula-repo-conf my_repo4 --pin --enable | |
- run: ./output/bin/uppm formula-repo-list | |
- run: ./output/bin/uppm formula-repo-sync my_repo2 | |
- run: ./output/bin/uppm formula-repo-info my_repo2 | |
- run: ./output/bin/uppm formula-repo-del my_repo1 | |
- run: ./output/bin/uppm cleanup |