Why does raylib weigh 500 MB?????? Also some misc changes in compile.sh and autobuild.yaml.
This commit is contained in:
@@ -12,7 +12,7 @@ jobs:
|
||||
- name: Install build tools
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y build-essential cmake zip unzip make
|
||||
sudo apt install -y build-essential cmake zip unzip make libxrandr
|
||||
|
||||
- name: Build makeheaders
|
||||
run: |
|
||||
@@ -25,7 +25,10 @@ jobs:
|
||||
cd ${{ gitea.workspace }}/src/libraries
|
||||
git clone https://github.com/lsalzman/enet.git
|
||||
git clone https://github.com/walterschell/Lua.git
|
||||
git clone https://github.com/raysan5/raylib.git
|
||||
git clone --filter=blob:none --sparse https://github.com/raysan5/raylib.git
|
||||
cd raylib
|
||||
git sparse-checkout set src include src/raylib.h CMakeLists.txt
|
||||
cd ..
|
||||
git clone https://github.com/jbeder/yaml-cpp.git
|
||||
cd ../..
|
||||
|
||||
@@ -34,4 +37,12 @@ jobs:
|
||||
chmod +x ${{ gitea.workspace }}/compile.sh
|
||||
sh ${{ gitea.workspace }}/compile.sh
|
||||
zip -r release-linux.zip OUTPUT-Linux || true
|
||||
zip -r release-w64.zip OUTPUT-w64 || true
|
||||
zip -r release-w64.zip OUTPUT-w64 || true
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: build-artifacts
|
||||
path: |
|
||||
release-linux.zip
|
||||
release-w64.zip
|
||||
|
||||
Reference in New Issue
Block a user