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