Snake/.gitea/workflows/build.yml

40 lines
1 KiB
YAML
Raw Normal View History

2023-04-02 20:44:55 +00:00
name: "godot-ci export"
on: push
env:
GODOT_VERSION: 4.0.1
EXPORT_NAME: snake
jobs:
export-linux:
name: Linux Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:3.3.4
steps:
2023-04-02 20:48:07 +00:00
- name: Setting Up Packages
run: |
2023-04-02 20:49:17 +00:00
apt update -y
apt upgrade -y
2023-04-02 20:52:30 +00:00
apt install -y nodejs ca-certificates
ls /root/.local/share/godot/templates/
2023-04-02 20:44:55 +00:00
- name: Checkout
uses: https://github.com/actions/checkout@v2
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Linux Build
run: |
mkdir -v -p build/linux
godot -v --export "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
- name: Upload Artifact
uses: https://github.com/actions/upload-artifact@v1
with:
name: linux
path: build/linux