Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fdc352596d | |||
| 89ba5cc985 | |||
| fdc79166a0 | |||
| b84487336b | |||
| e4ab103c4d | |||
| 3b6cf0252b | |||
| e908cd3085 | |||
| 6b23fdbd26 | |||
| ea6258ff19 | |||
| 5e54f0f83b | |||
| f00439a430 | |||
| 02ec230b3f | |||
| 867554b835 | |||
| a4835eeb3c | |||
| 55b877226e | |||
| d7d33d0dac | |||
| f92c6d282f | |||
| 2d41523668 | |||
| 34b04a365a | |||
| d0ac644e14 | |||
| 510a3200d1 | |||
| bef601941c | |||
| b6605d6293 | |||
| 1b6742ea45 | |||
| 405e487881 |
@@ -8,6 +8,7 @@ on:
|
|||||||
- "**"
|
- "**"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
GODOT_VERSION: 4.6
|
||||||
GAME_NAME: MovementTests
|
GAME_NAME: MovementTests
|
||||||
ITCHIO_USERNAME: Minimata
|
ITCHIO_USERNAME: Minimata
|
||||||
ITCHIO_GAMEID: MovementTests
|
ITCHIO_GAMEID: MovementTests
|
||||||
@@ -21,6 +22,7 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.TOKEN }}
|
||||||
lfs: false
|
lfs: false
|
||||||
- name: Remove buggy pre-push hook
|
- name: Remove buggy pre-push hook
|
||||||
run: |
|
run: |
|
||||||
@@ -37,38 +39,29 @@ jobs:
|
|||||||
DEFAULT_BUMP: patch
|
DEFAULT_BUMP: patch
|
||||||
|
|
||||||
Test:
|
Test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: godot
|
||||||
env:
|
# env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||||
steps:
|
steps:
|
||||||
- name: Install node, xvfb and curl
|
|
||||||
run: |
|
|
||||||
apt update && apt -y install curl nodejs xvfb
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.TOKEN }}
|
||||||
lfs: false
|
lfs: false
|
||||||
|
persist-credentials: true
|
||||||
|
|
||||||
- name: Checkout LFS
|
- name: Checkout LFS
|
||||||
run: |
|
run: |
|
||||||
UrlBase=$GITHUB_SERVER_URL; \
|
git lfs install --local
|
||||||
UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
|
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
||||||
Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
|
git config --local --unset http.${{ github.server_url }}/.extraheader
|
||||||
/usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
|
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
/usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
|
git lfs pull
|
||||||
|
|
||||||
git config --local lfs.transfer.maxretries 1
|
|
||||||
|
|
||||||
/usr/bin/git lfs fetch origin refs/remotes/origin/${{ gitea.ref_name }}
|
|
||||||
/usr/bin/git lfs checkout
|
|
||||||
/usr/bin/git add .
|
|
||||||
/usr/bin/git reset --hard
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: godot-gdunit-labs/gdUnit4-action@v1
|
uses: godot-gdunit-labs/gdUnit4-action@v1
|
||||||
with:
|
with:
|
||||||
godot-version: '4.6'
|
godot-version: ${GODOT_VERSION}
|
||||||
godot-net: true
|
godot-net: true
|
||||||
godot-force-mono: true
|
godot-force-mono: true
|
||||||
dotnet-version: 'net9.0'
|
dotnet-version: 'net9.0'
|
||||||
@@ -83,81 +76,45 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Test Report
|
name: Test Report
|
||||||
path: ${{ github.workspace }}/reports/test-result.html
|
path: ${{ github.workspace }}/reports/test-result.html
|
||||||
|
|
||||||
# - name: Trying build
|
|
||||||
# run: |
|
|
||||||
# mkdir -v -p build/windows
|
|
||||||
# /home/runner/godot-linux/godot --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
|
|
||||||
|
|
||||||
Export:
|
Export:
|
||||||
runs-on: ubuntu-latest
|
runs-on: godot
|
||||||
env:
|
# env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||||
needs:
|
# needs:
|
||||||
- BumpTag
|
# - BumpTag
|
||||||
# - Test # Wait for tests to finish
|
# - Test # Wait for tests to finish
|
||||||
container:
|
|
||||||
image: barichello/godot-ci:mono-4.6
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install node, curl and zip
|
- name: Checkout with LFS
|
||||||
run: |
|
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
|
||||||
apt update && apt -y install curl zip nodejs
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Setup Godot
|
||||||
uses: actions/checkout@v3
|
id: setup-godot
|
||||||
|
uses: https://git.game-dev.space/minimata/setup-godot.git@main
|
||||||
with:
|
with:
|
||||||
lfs: false
|
godot-version: '4.6'
|
||||||
|
dotnet-version: 'net9.0'
|
||||||
- name: Checkout LFS
|
|
||||||
|
- name: Remove GDUnit addon
|
||||||
run: |
|
run: |
|
||||||
UrlBase=$GITHUB_SERVER_URL; \
|
rm -rf ${{ gitea.workspace }}/addons/gdUnit4
|
||||||
UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects; \
|
|
||||||
Auth=`/usr/bin/git config --get --local http.$UrlBase/.extraheader`; \
|
|
||||||
/usr/bin/git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"; \
|
|
||||||
/usr/bin/git config --local http.${UrlLfsBase}/.extraheader ''
|
|
||||||
|
|
||||||
git config --local lfs.transfer.maxretries 1
|
|
||||||
|
|
||||||
/usr/bin/git lfs fetch origin refs/remotes/origin/${{ gitea.ref_name }}
|
|
||||||
/usr/bin/git lfs checkout
|
|
||||||
/usr/bin/git add .
|
|
||||||
/usr/bin/git reset --hard
|
|
||||||
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v6
|
|
||||||
# with:
|
|
||||||
# lfs: false
|
|
||||||
# persist-credentials: true
|
|
||||||
#
|
|
||||||
# - name: Checkout LFS
|
|
||||||
# run: |
|
|
||||||
# git lfs install --local
|
|
||||||
# AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
|
|
||||||
# AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path)
|
|
||||||
# git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader
|
|
||||||
# git config -f $AUTH_FILE http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
|
||||||
# git lfs pull
|
|
||||||
|
|
||||||
# - name: Remove GDUnit addon folder because it breaks the build
|
|
||||||
# run: |
|
|
||||||
# rm -rf ${{ gitea.workspace }}/addons/gdUnit4
|
|
||||||
#
|
|
||||||
# - name: Import resources and build solution
|
|
||||||
# run: |
|
|
||||||
# godot --headless --editor --build-solutions --quit --import --path $PWD
|
|
||||||
|
|
||||||
- name: Build Windows
|
- name: Build Windows
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/windows
|
mkdir -v -p build/windows
|
||||||
godot --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
|
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
|
||||||
zip -r Windows.zip build/windows
|
zip -r Windows.zip build/windows
|
||||||
|
ls -la
|
||||||
|
pwd
|
||||||
|
echo ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Upload to Itch
|
- name: Upload to Itch
|
||||||
uses: KikimoraGames/itch-publish@v0.0.3
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
with:
|
with:
|
||||||
butlerApiKey: ${{ secrets.BUTLER_TOKEN }}
|
butlerApiKey: ${{ secrets.BUTLER_TOKEN }}
|
||||||
itchUsername: ${{ env.ITCHIO_USERNAME }}
|
itchUsername: ${{ env.ITCHIO_USERNAME }}
|
||||||
itchGameId: ${{ env.ITCHIO_GAMEID }}
|
itchGameId: ${{ env.ITCHIO_GAMEID }}
|
||||||
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
buildNumber: 0.1.0 # ${{ needs.BumpTag.outputs.tag_name }}
|
||||||
gameData: Windows.zip
|
gameData: ${{ github.workspace }}/Windows.zip
|
||||||
buildChannel: windows
|
buildChannel: windows
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
name="Linux/X11"
|
name="Linux/X11"
|
||||||
platform="Linux"
|
platform="Linux"
|
||||||
runnable=true
|
runnable=true
|
||||||
advanced_options=false
|
|
||||||
dedicated_server=false
|
dedicated_server=false
|
||||||
custom_features=""
|
custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
@@ -11,6 +10,11 @@ include_filter=""
|
|||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path=""
|
export_path=""
|
||||||
patches=PackedStringArray()
|
patches=PackedStringArray()
|
||||||
|
patch_delta_encoding=false
|
||||||
|
patch_delta_compression_level_zstd=19
|
||||||
|
patch_delta_min_reduction=0.1
|
||||||
|
patch_delta_include_filters="*"
|
||||||
|
patch_delta_exclude_filters=""
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
encryption_exclude_filters=""
|
encryption_exclude_filters=""
|
||||||
seed=0
|
seed=0
|
||||||
@@ -53,7 +57,6 @@ texture_format/etc2=false
|
|||||||
name="Windows Desktop"
|
name="Windows Desktop"
|
||||||
platform="Windows Desktop"
|
platform="Windows Desktop"
|
||||||
runnable=true
|
runnable=true
|
||||||
advanced_options=false
|
|
||||||
dedicated_server=false
|
dedicated_server=false
|
||||||
custom_features=""
|
custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
@@ -61,6 +64,11 @@ include_filter=""
|
|||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path="builds/Movement tests.exe"
|
export_path="builds/Movement tests.exe"
|
||||||
patches=PackedStringArray()
|
patches=PackedStringArray()
|
||||||
|
patch_delta_encoding=false
|
||||||
|
patch_delta_compression_level_zstd=19
|
||||||
|
patch_delta_min_reduction=0.1
|
||||||
|
patch_delta_include_filters="*"
|
||||||
|
patch_delta_exclude_filters=""
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
encryption_exclude_filters=""
|
encryption_exclude_filters=""
|
||||||
seed=0
|
seed=0
|
||||||
@@ -128,7 +136,6 @@ texture_format/etc2=false
|
|||||||
name="macOS"
|
name="macOS"
|
||||||
platform="macOS"
|
platform="macOS"
|
||||||
runnable=true
|
runnable=true
|
||||||
advanced_options=false
|
|
||||||
dedicated_server=false
|
dedicated_server=false
|
||||||
custom_features=""
|
custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
@@ -136,6 +143,11 @@ include_filter=""
|
|||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path=""
|
export_path=""
|
||||||
patches=PackedStringArray()
|
patches=PackedStringArray()
|
||||||
|
patch_delta_encoding=false
|
||||||
|
patch_delta_compression_level_zstd=19
|
||||||
|
patch_delta_min_reduction=0.1
|
||||||
|
patch_delta_include_filters="*"
|
||||||
|
patch_delta_exclude_filters=""
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
encryption_exclude_filters=""
|
encryption_exclude_filters=""
|
||||||
seed=0
|
seed=0
|
||||||
@@ -150,6 +162,7 @@ binary_format/architecture="universal"
|
|||||||
custom_template/debug=""
|
custom_template/debug=""
|
||||||
custom_template/release=""
|
custom_template/release=""
|
||||||
debug/export_console_wrapper=1
|
debug/export_console_wrapper=1
|
||||||
|
application/liquid_glass_icon=""
|
||||||
application/icon=""
|
application/icon=""
|
||||||
application/icon_interpolation=4
|
application/icon_interpolation=4
|
||||||
application/bundle_identifier="com.ggj25.game"
|
application/bundle_identifier="com.ggj25.game"
|
||||||
@@ -310,10 +323,10 @@ privacy/collected_data/browsing_history/collected=false
|
|||||||
privacy/collected_data/browsing_history/linked_to_user=false
|
privacy/collected_data/browsing_history/linked_to_user=false
|
||||||
privacy/collected_data/browsing_history/used_for_tracking=false
|
privacy/collected_data/browsing_history/used_for_tracking=false
|
||||||
privacy/collected_data/browsing_history/collection_purposes=0
|
privacy/collected_data/browsing_history/collection_purposes=0
|
||||||
privacy/collected_data/search_hhistory/collected=false
|
privacy/collected_data/search_history/collected=false
|
||||||
privacy/collected_data/search_hhistory/linked_to_user=false
|
privacy/collected_data/search_history/linked_to_user=false
|
||||||
privacy/collected_data/search_hhistory/used_for_tracking=false
|
privacy/collected_data/search_history/used_for_tracking=false
|
||||||
privacy/collected_data/search_hhistory/collection_purposes=0
|
privacy/collected_data/search_history/collection_purposes=0
|
||||||
privacy/collected_data/user_id/collected=false
|
privacy/collected_data/user_id/collected=false
|
||||||
privacy/collected_data/user_id/linked_to_user=false
|
privacy/collected_data/user_id/linked_to_user=false
|
||||||
privacy/collected_data/user_id/used_for_tracking=false
|
privacy/collected_data/user_id/used_for_tracking=false
|
||||||
@@ -380,6 +393,10 @@ rm -rf \"{temp_dir}\""
|
|||||||
dotnet/include_scripts_content=false
|
dotnet/include_scripts_content=false
|
||||||
dotnet/include_debug_symbols=true
|
dotnet/include_debug_symbols=true
|
||||||
dotnet/embed_build_outputs=false
|
dotnet/embed_build_outputs=false
|
||||||
|
privacy/collected_data/search_hhistory/collected=false
|
||||||
|
privacy/collected_data/search_hhistory/linked_to_user=false
|
||||||
|
privacy/collected_data/search_hhistory/used_for_tracking=false
|
||||||
|
privacy/collected_data/search_hhistory/collection_purposes=0
|
||||||
application/min_macos_version="10.12"
|
application/min_macos_version="10.12"
|
||||||
|
|
||||||
[preset.3]
|
[preset.3]
|
||||||
@@ -387,7 +404,6 @@ application/min_macos_version="10.12"
|
|||||||
name="Windows ARM"
|
name="Windows ARM"
|
||||||
platform="Windows Desktop"
|
platform="Windows Desktop"
|
||||||
runnable=false
|
runnable=false
|
||||||
advanced_options=false
|
|
||||||
dedicated_server=false
|
dedicated_server=false
|
||||||
custom_features=""
|
custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
@@ -395,6 +411,11 @@ include_filter=""
|
|||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path=""
|
export_path=""
|
||||||
patches=PackedStringArray()
|
patches=PackedStringArray()
|
||||||
|
patch_delta_encoding=false
|
||||||
|
patch_delta_compression_level_zstd=19
|
||||||
|
patch_delta_min_reduction=0.1
|
||||||
|
patch_delta_include_filters="*"
|
||||||
|
patch_delta_exclude_filters=""
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
encryption_exclude_filters=""
|
encryption_exclude_filters=""
|
||||||
seed=0
|
seed=0
|
||||||
|
|||||||
Reference in New Issue
Block a user