mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:15:10 +00:00
[CI] This should(n't) do the trick
This commit is contained in:
parent
e8fb9b9641
commit
d9bea609dd
1 changed files with 13 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
run: |
|
||||
echo $(uname -a) $(env | grep container)
|
||||
apt update -y
|
||||
apt install -y build-essential liblmdb-dev nodejs libssl-dev git
|
||||
apt install -y build-essential liblmdb-dev nodejs libssl-dev git wget
|
||||
- name: Clone everything
|
||||
run: |
|
||||
mkdir -p repos
|
||||
|
|
@ -54,3 +54,15 @@ jobs:
|
|||
./configure --cc=musl-gcc --prefix=${PREFIX} --with-lmdb
|
||||
make -j$(nproc)
|
||||
make install
|
||||
- name: Clone Parsee
|
||||
uses: actions/checkout@v3
|
||||
- name: Build Parsee
|
||||
run: |
|
||||
alias musl-gcc="musl-gcc -Wl,-Bstatic -L ${PREFIX}/lib"
|
||||
echo "all: adminify aya b64 config noavatars" > tools/Makefile
|
||||
echo "%: %.c" >> tools/Makefile
|
||||
echo "$(printf '\\t')musl-gcc -I $(PREFIX)/usr/include -static -o $(PREFIX)/$@.$(shell uname -m) $< -lm -lpthread -lssl -lCytoplasm -lssl -lcrypto -llmdb -flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections -lCytoplasm" >> tools/Makefile
|
||||
make CC=musl-gcc CYTO_INC=${PREFIX}/include CYTO_LIB=${PREFIX}/lib 2> /dev/null || true
|
||||
musl-gcc -static -o "${PREFIX}/parsee.$(uname -m)" $(find build/ -name '*.o') -lm -lpthread -lssl -lCytoplasm -lssl -lcrypto -llmdb -flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections -lCytoplasm
|
||||
ls $PREFIX
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue