This commit is contained in:
@@ -9,59 +9,6 @@ env:
|
|||||||
PROJECT_PATH: .
|
PROJECT_PATH: .
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
export-linux:
|
|
||||||
name: Linux Export
|
|
||||||
runs-on: ubuntu-latest # Use 22.04 with godot 4
|
|
||||||
container:
|
|
||||||
image: oierbravo/godot-ci-with-node:4.5
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
- name: Setup
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/enekonieto/escoria-demo-game $PROJECT_PATH/../escoria-demo-game
|
|
||||||
- name: Linux Build
|
|
||||||
run: |
|
|
||||||
mkdir -v -p build/linux
|
|
||||||
EXPORT_DIR="$(readlink -f build)"
|
|
||||||
cd $PROJECT_PATH
|
|
||||||
godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
|
||||||
env:
|
|
||||||
NODE_TLS_REJECT_UNAUTHORIZED: false
|
|
||||||
with:
|
|
||||||
name: linux
|
|
||||||
path: build/linux
|
|
||||||
export-linux-arm:
|
|
||||||
name: Linux ARM Export
|
|
||||||
runs-on: ubuntu-latest # Use 22.04 with godot 4
|
|
||||||
container:
|
|
||||||
image: oierbravo/godot-ci-with-node:4.5
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
- name: Setup
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/enekonieto/escoria-demo-game $PROJECT_PATH/../escoria-demo-game
|
|
||||||
- name: Linux Build ARM
|
|
||||||
run: |
|
|
||||||
mkdir -v -p build/linux-arm
|
|
||||||
EXPORT_DIR="$(readlink -f build)"
|
|
||||||
cd $PROJECT_PATH
|
|
||||||
godot --headless --verbose --export-release "LinuxARM" "$EXPORT_DIR/linux-arm/$EXPORT_NAME.arm_64"
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
|
||||||
env:
|
|
||||||
NODE_TLS_REJECT_UNAUTHORIZED: false
|
|
||||||
with:
|
|
||||||
name: linux-arm
|
|
||||||
path: build/linux-arm
|
|
||||||
|
|
||||||
export-web:
|
export-web:
|
||||||
name: Web Export
|
name: Web Export
|
||||||
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ jobs:
|
|||||||
godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
|
godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
||||||
|
env:
|
||||||
|
NODE_TLS_REJECT_UNAUTHORIZED: false
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: build/linux
|
path: build/linux
|
||||||
@@ -46,7 +48,7 @@ jobs:
|
|||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/enekonieto/escoria-demo-game $PROJECT_PATH/../escoria-demo-game
|
git clone https://github.com/enekonieto/escoria-demo-game $PROJECT_PATH/../escoria-demo-game
|
||||||
- name: Linux Build
|
- name: Linux Build ARM
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/linux-arm
|
mkdir -v -p build/linux-arm
|
||||||
EXPORT_DIR="$(readlink -f build)"
|
EXPORT_DIR="$(readlink -f build)"
|
||||||
@@ -54,10 +56,11 @@ jobs:
|
|||||||
godot --headless --verbose --export-release "LinuxARM" "$EXPORT_DIR/linux-arm/$EXPORT_NAME.arm_64"
|
godot --headless --verbose --export-release "LinuxARM" "$EXPORT_DIR/linux-arm/$EXPORT_NAME.arm_64"
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
||||||
|
env:
|
||||||
|
NODE_TLS_REJECT_UNAUTHORIZED: false
|
||||||
with:
|
with:
|
||||||
name: linux-arm
|
name: linux-arm
|
||||||
path: build/linux-arm
|
path: build/linux-arm
|
||||||
|
|
||||||
export-web:
|
export-web:
|
||||||
name: Web Export
|
name: Web Export
|
||||||
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
||||||
|
|||||||
Reference in New Issue
Block a user