Adding linux build
This commit is contained in:
@ -41,35 +41,41 @@ jobs:
|
|||||||
godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
|
godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: https://gitea.com/actions/upload-artifact@v3
|
uses: https://gitea.com/actions/upload-artifact@v3 # using v3 ad v4 has issues wwith gitea
|
||||||
#uses: christopherhx/gitea-upload-artifact@v4 # the github action doens't work with gitea, so use this community versions hehe
|
|
||||||
with:
|
with:
|
||||||
name: windows
|
name: windows
|
||||||
path: build/windows
|
path: build/windows
|
||||||
|
|
||||||
|
|
||||||
# export-linux:
|
export-linux:
|
||||||
# name: Linux Export
|
name: Linux Export
|
||||||
# runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
||||||
# container:
|
container:
|
||||||
# image: barichello/godot-ci:4.4
|
image: barichello/godot-ci:4.4
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout
|
# Doing this becuase barichello/godot-ci:4.4 doesn't have nodejs installed, may need to make own docker image in the future
|
||||||
# uses: actions/checkout@v4
|
# By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
|
||||||
# with:
|
- name: Install Node.js
|
||||||
# lfs: true
|
run: |
|
||||||
# - name: Setup
|
apt-get update
|
||||||
# run: |
|
apt-get install -y curl
|
||||||
# mkdir -v -p ~/.local/share/godot/export_templates/
|
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
||||||
# mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
|
apt-get install -y nodejs
|
||||||
# - name: Linux Build
|
- name: Checkout
|
||||||
# run: |
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
# mkdir -v -p build/linux
|
with:
|
||||||
# EXPORT_DIR="$(readlink -f build)"
|
lfs: true
|
||||||
# cd $PROJECT_PATH
|
- name: Setup
|
||||||
# godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
|
run: |
|
||||||
# - name: Upload Artifact
|
mkdir -v -p ~/.local/share/godot/export_templates/
|
||||||
# uses: actions/upload-artifact@v4
|
- name: Linux Build
|
||||||
# with:
|
run: |
|
||||||
# name: linux
|
mkdir -v -p build/linux
|
||||||
# path: build/linux
|
EXPORT_DIR="$(readlink -f build)"
|
||||||
|
cd $PROJECT_PATH
|
||||||
|
godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: https://gitea.com/actions/upload-artifact@v3 # using v3 ad v4 has issues wwith gitea
|
||||||
|
with:
|
||||||
|
name: linux
|
||||||
|
path: build/linux
|
||||||
Reference in New Issue
Block a user