This commit is contained in:
@ -1,7 +1,9 @@
|
||||
name: build-linux-glfw-x64
|
||||
on:
|
||||
# ON tag
|
||||
push:
|
||||
branches: [ master, main, main2 ]
|
||||
tags:
|
||||
- 'v*'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@ -11,6 +13,7 @@ jobs:
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
mkdir release
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
build-essential \
|
||||
@ -23,15 +26,22 @@ jobs:
|
||||
python3-pil
|
||||
|
||||
|
||||
- name: Build Game
|
||||
- name: Build Linux GLFW x64
|
||||
run: |
|
||||
if [ -d "build" ]; then
|
||||
rm -rf build
|
||||
fi
|
||||
mkdir build
|
||||
mkdir release/linux-glfw-x64
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
cd ..
|
||||
cp build/src/Dawn release/linux-glfw-x64/Dawn
|
||||
cp build/dawn.tar release/linux-glfw-x64/dawn.tar
|
||||
|
||||
- name: Release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
files: |-
|
||||
README.md
|
||||
release/*
|
Reference in New Issue
Block a user