Skip to content

Commit

Permalink
uncomment windows and linux from ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
kristijandraca committed Jan 9, 2025
1 parent 8d1e7d3 commit e0a85f5
Showing 1 changed file with 52 additions and 52 deletions.
104 changes: 52 additions & 52 deletions .github/workflows/godot-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,59 +11,59 @@ env:
ITCH_GAME_ID: godot-example-ci-cd

jobs:
# export-windows:
# name: Windows Export
# runs-on: ubuntu-20.04
# container:
# image: barichello/godot-ci:4.3
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# lfs: true
# - name: Setup
# run: |
# mkdir -v -p ~/.local/share/godot/export_templates/
# mkdir -v -p ~/.config/
# mv /root/.config/godot ~/.config/godot
# mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
# - name: Windows Build
# run: |
# mkdir -v -p build/windows
# EXPORT_DIR="$(readlink -f build)"
# cd $PROJECT_PATH
# godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
# - name: Upload Artifact
# uses: actions/upload-artifact@v4
# with:
# name: windows
# path: build/windows
export-windows:
name: Windows Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.3
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/export_templates/
mkdir -v -p ~/.config/
mv /root/.config/godot ~/.config/godot
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Windows Build
run: |
mkdir -v -p build/windows
EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH
godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: windows
path: build/windows

# export-linux:
# name: Linux Export
# runs-on: ubuntu-20.04
# container:
# image: barichello/godot-ci:4.3
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# lfs: true
# - name: Setup
# run: |
# mkdir -v -p ~/.local/share/godot/export_templates/
# mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
# - name: Linux Build
# run: |
# mkdir -v -p 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: actions/upload-artifact@v4
# with:
# name: linux
# path: build/linux
export-linux:
name: Linux Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.3
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/export_templates/
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Linux Build
run: |
mkdir -v -p 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: actions/upload-artifact@v4
with:
name: linux
path: build/linux

export-web:
name: Web Export
Expand Down

0 comments on commit e0a85f5

Please sign in to comment.