forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.x' into fix_skele2d_bounds2
- Loading branch information
Showing
139 changed files
with
4,128 additions
and
790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: 🍏 iOS Builds | ||
on: [push, pull_request] | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
# Global Settings | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: 🐧 Linux Dev Builds | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
# Global Settings | ||
env: | ||
# Only used for the cache key. Increment version to force clean build. | ||
GODOT_BASE_BRANCH: 3.x | ||
SCONSFLAGS: verbose=no warnings=all werror=yes | ||
|
||
concurrency: | ||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-linux | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: "ubuntu-20.04" | ||
name: ${{ matrix.name }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
include: | ||
- name: Editor dev (target=debug, tools=yes) | ||
cache-name: linux-editor-dev | ||
target: debug | ||
tools: true | ||
sconsflags: use_scu=yes rids=tracked_handles | ||
bin: "./bin/godot.x11.tools.64" | ||
build-mono: false | ||
artifact: false | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Linux dependencies | ||
shell: bash | ||
run: | | ||
# Azure repositories are not reliable, we need to prevent azure giving us packages. | ||
sudo rm -f /etc/apt/sources.list.d/* | ||
sudo cp -f misc/ci/sources.list /etc/apt/sources.list | ||
sudo apt-get update | ||
# The actual dependencies | ||
sudo apt-get install build-essential pkg-config libx11-dev libxcursor-dev \ | ||
libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev \ | ||
libdbus-1-dev libudev-dev libxi-dev libxrandr-dev yasm xvfb wget unzip \ | ||
libspeechd-dev speech-dispatcher | ||
- name: Setup Godot build cache | ||
uses: ./.github/actions/godot-cache | ||
with: | ||
cache-name: ${{ matrix.cache-name }} | ||
continue-on-error: true | ||
|
||
- name: Setup python and scons | ||
uses: ./.github/actions/godot-deps | ||
|
||
- name: Setup GCC problem matcher | ||
uses: ammaraskar/gcc-problem-matcher@master | ||
|
||
- name: Copy custom.py | ||
shell: bash | ||
run: | | ||
# Use custom.py to only compile core. | ||
cp -f misc/scripts/custom.py custom.py | ||
- name: Compilation | ||
uses: ./.github/actions/godot-build | ||
with: | ||
sconsflags: ${{ env.SCONSFLAGS }} ${{ matrix.sconsflags }} | ||
platform: x11 | ||
target: ${{ matrix.target }} | ||
tools: ${{ matrix.tools }} | ||
|
||
- name: Prepare artifact | ||
if: ${{ matrix.artifact }} | ||
run: | | ||
strip bin/godot.* | ||
chmod +x bin/godot.* | ||
- name: Upload artifact | ||
uses: ./.github/actions/upload-artifact | ||
if: ${{ matrix.artifact }} | ||
with: | ||
name: ${{ matrix.cache-name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
name: 🐧 Release Linux Builds | ||
on: [workflow_dispatch] | ||
|
||
# Global Settings | ||
env: | ||
# Only used for the cache key. Increment version to force clean build. | ||
GODOT_BASE_BRANCH: 3.x | ||
SCONSFLAGS: verbose=no warnings=all werror=no | ||
|
||
concurrency: | ||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-linux | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: "ubuntu-20.04" | ||
name: ${{ matrix.name }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: Editor (target=release_debug, tools=yes) | ||
cache-name: linux-editor | ||
target: release_debug | ||
tools: true | ||
sconsflags: mono_glue=no | ||
bin: "./bin/godot.x11.opt.tools.64" | ||
build-mono: false | ||
artifact: true | ||
|
||
- name: Template (target=release, tools=no) | ||
cache-name: linux-template | ||
target: release | ||
tools: false | ||
sconsflags: mono_glue=no debug_symbols=no | ||
build-mono: false | ||
artifact: true | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Linux dependencies | ||
shell: bash | ||
run: | | ||
# Azure repositories are not reliable, we need to prevent azure giving us packages. | ||
sudo rm -f /etc/apt/sources.list.d/* | ||
sudo cp -f misc/ci/sources.list /etc/apt/sources.list | ||
sudo apt-get update | ||
# The actual dependencies | ||
sudo apt-get install build-essential pkg-config libx11-dev libxcursor-dev \ | ||
libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev \ | ||
libdbus-1-dev libudev-dev libxi-dev libxrandr-dev yasm xvfb wget unzip \ | ||
libspeechd-dev speech-dispatcher | ||
- name: Setup Godot build cache | ||
uses: ./.github/actions/godot-cache | ||
with: | ||
cache-name: ${{ matrix.cache-name }} | ||
continue-on-error: true | ||
|
||
- name: Setup python and scons | ||
uses: ./.github/actions/godot-deps | ||
|
||
- name: Setup GCC problem matcher | ||
uses: ammaraskar/gcc-problem-matcher@master | ||
|
||
- name: Compilation | ||
uses: ./.github/actions/godot-build | ||
with: | ||
sconsflags: ${{ env.SCONSFLAGS }} ${{ matrix.sconsflags }} | ||
platform: linuxbsd | ||
target: ${{ matrix.target }} | ||
tools: ${{ matrix.tools }} | ||
|
||
# Generate mono glue | ||
- name: Generate Mono glue code | ||
if: ${{ matrix.build-mono }} | ||
run: | | ||
DRI_PRIME=0 xvfb-run ${{ matrix.bin }} --generate-mono-glue modules/mono/glue || true | ||
# Rebuild with mono | ||
- name: Compilation (mono_glue=yes) | ||
uses: ./.github/actions/godot-build | ||
if: ${{ matrix.build-mono }} | ||
with: | ||
sconsflags: ${{ env.SCONSFLAGS }} ${{ matrix.sconsflags }} mono_glue=yes | ||
platform: linuxbsd | ||
target: ${{ matrix.target }} | ||
tools: ${{ matrix.tools }} | ||
|
||
- name: Prepare artifact | ||
if: ${{ matrix.artifact }} | ||
run: | | ||
strip bin/godot.* | ||
chmod +x bin/godot.* | ||
- name: Upload artifact | ||
uses: ./.github/actions/upload-artifact | ||
if: ${{ matrix.artifact }} | ||
with: | ||
name: ${{ matrix.cache-name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.