[CI] C'est le commit final

This commit is contained in:
LDA 2024-09-11 11:49:26 +02:00
commit e9b36730b5

View file

@ -70,4 +70,17 @@ jobs:
make CC=musl-gcc CYTO_INC=${PREFIX}/include CYTO_LIB=${PREFIX}/lib 2> /dev/null || true 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 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 ls $PREFIX
- name: Create a final archive
run: |
cd parsee
mkdir bin
cp "${PREFIX}/parsee.$(uname -m)" bin
cp ../*.$(uname -m) bin
tar -czvf "$(uname)-$(uname -m).tgz" bin
cp "$(uname)-$(uname -m).tgz" ..
echo "PGZ=$(uname)-$(uname -m).tgz" >> $GITHUB_ENV
- name: Upload it all
uses: actions/upload-artifact@v4
with:
name: ${{ env.PGZ }}
path: ${{ env.PGZ }}