Files
CubeGame/.gitea/workflows/autobuild.yaml
T
milkwx3 dc5f4f7d91 test2
2026-06-13 23:06:37 +03:00

37 lines
980 B
YAML

name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install build tools
run: |
sudo apt update
sudo apt install -y build-essential cmake zip unzip make
- name: Build makeheaders
run: |
cd makeheaders
make
cd ..
- name: Fetch libraries
run: |
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 https://github.com/jbeder/yaml-cpp.git
cd ../..
- name: Compile
run: |
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