Skip to content

optimized

optimized #332

Workflow file for this run

name: alpinelinux
on:
push:
branches: [ 0.15.2 ]
pull_request:
branches: [ 0.15.2 ]
jobs:
alpinelinux:
strategy:
fail-fast: false
matrix:
tag: ['3.16','3.15']
runs-on: ubuntu-latest
container: alpine:${{ matrix.tag }}
steps:
- 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 env
- run: ./output/bin/uppm env -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 @all
- run: ./output/bin/uppm info unzip
- run: ./output/bin/uppm info unzip --json
- run: ./output/bin/uppm info unzip --yaml
- run: ./output/bin/uppm info unzip version
- run: ./output/bin/uppm info unzip license
- run: ./output/bin/uppm info unzip summary
- run: ./output/bin/uppm info unzip webpage
- run: ./output/bin/uppm info unzip bin-url
- run: ./output/bin/uppm info unzip bin-sha
- run: ./output/bin/uppm info unzip install
- run: ./output/bin/uppm info 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 unzip installed-dir
- run: ./output/bin/uppm info unzip installed-files
- run: ./output/bin/uppm info unzip installed-receipt-path
- run: ./output/bin/uppm info unzip installed-receipt-json
- run: ./output/bin/uppm info unzip installed-receipt-yaml
- run: ./output/bin/uppm info unzip installed-timestamp-unix
- run: ./output/bin/uppm info unzip installed-timestamp-iso-8601
- run: ./output/bin/uppm info unzip installed-timestamp-rfc-3339
- run: ./output/bin/uppm info unzip installed-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 unzip formula | head -n 1 | cut -d ' ' -f2)
- 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
- 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