forked from Kron4ek/Conty
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (52 loc) · 1.73 KB
/
utils.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
name: Utils CI
on:
schedule:
- cron: '0 0 1 * *'
push:
paths:
- 'create-utils.sh'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- uses: actions/checkout@v3
- name: Compile utils
run: |
chmod +x create-utils.sh
pacman -Syu --noconfirm --needed base-devel gawk grep lz4 zstd \
curl gcc make autoconf libtool pkgconf libcap fuse2 lzo \
xz zlib findutils openssl jemalloc xxhash boost lz4 xz \
zstd libarchive libunwind google-glog gtest fmt gflags \
double-conversion cmake ruby-ronn libevent libdwarf git \
clang libsodium liburing libaio musl kernel-headers-musl utf8cpp \
chrono-date
build_dwarfs=false ./create-utils.sh
tar xf utils.tar.gz
mv utils utils-bak
pacman -Rdd --noconfirm fuse2
pacman -S --noconfirm fuse3
build_dwarfs=false ./create-utils.sh
tar xf utils.tar.gz
rm utils.tar.gz
mv utils-bak/* utils
tar -zcf utils.tar.gz utils
rm -rf utils utils-bak
build_dwarfs=true ./create-utils.sh
tar xf utils_dwarfs.tar.gz
rm utils_dwarfs.tar.gz
mv utils utils-bak
pacman -Rdd --noconfirm fuse3
pacman -S --noconfirm fuse2
build_dwarfs=true ./create-utils.sh
tar xf utils_dwarfs.tar.gz
rm utils_dwarfs.tar.gz
mv utils-bak/* utils
tar -zcf utils_dwarfs.tar.gz utils
- uses: actions/upload-artifact@v3
with:
name: Utils
path: |
utils.tar.gz
utils_dwarfs.tar.gz