-
Notifications
You must be signed in to change notification settings - Fork 3
77 lines (54 loc) · 1.73 KB
/
centos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: CentOS Linux
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [7, 8]
container: centos:${{ matrix.tag }}
steps:
- run: |
yum -y update
yum -y install epel-release
yum -y --enablerepo=epel update
yum -y --enablerepo=epel install curl xz gcc-c++
if: ${{ matrix.tag == 7 }}
- run: |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
dnf -y update
dnf -y install curl xz gcc-c++
if: ${{ matrix.tag == 8 }}
- uses: actions/checkout@v3
- run: ./ppkg --help
- run: ./ppkg --version
- run: ./ppkg setup
- run: ./ppkg env
- run: ./ppkg integrate zsh
- run: ./ppkg update
- run: ./ppkg search lib
- run: ./ppkg search libzip
- run: ./ppkg info libzip
- run: ./ppkg info libzip version
- run: ./ppkg info libzip webpage
- run: ./ppkg info libzip src-url
- run: ./ppkg depends libzip
- run: ./ppkg install libzip
- run: ./ppkg tree libzip
- run: ./ppkg pack libzip -t tar.xz
- run: ./ppkg formula-repo-list
- run: ./ppkg ls-available
- run: ./ppkg ls-installed
- run: ./ppkg ls-outdated
- run: ./ppkg is-available libzip
- run: ./ppkg is-installed libzip
- run: ./ppkg is-outdated libzip || echo 'not outdated'
- run: ./ppkg uninstall libzip
- run: ./ppkg fetch curl
- run: ./ppkg upgrade-self