File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 4040 sudo apt-get update
4141 sudo apt-get --no-install-recommends -y install \
4242 binutils build-essential libcap-dev libseccomp-dev make qemu-user-static xz-utils
43+ - name : build source code
44+ run : |
45+ cd build
46+ git clone --depth 1 https://github.com/moe-hacker/ruri.git
47+ cd ruri
48+ cc -Wl,--gc-sections -static src/*.c src/easteregg/*.c -o ruri -lcap -lseccomp -lpthread
49+ sudo cp ./ruri /usr/bin/ruri
4350 - name : download latest minirootfs
4451 env :
4552 URL : https://dl-cdn.alpinelinux.org/alpine/edge/releases
7279 tar -cvf /$(uname -m).tar rurima-aio
7380 EOF
7481 sudo chmod +x alpine/build.sh
75- sudo ../ ruri -a aarch64 -q /usr/bin/qemu-aarch64-static ./alpine /bin/sh /build.sh
82+ sudo ruri -a aarch64 -q /usr/bin/qemu-aarch64-static ./alpine /bin/sh /build.sh
7683 sudo mv alpine/aarch64.tar ./aarch64.tar
7784 - name : Release
7885 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments