mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 09:09:47 +00:00
Use concurrency in CI, update some actions, copy pixelorama_data folder in the RPI4 builds
This commit is contained in:
parent
b75903286c
commit
ea931c0e53
24
.github/workflows/dev-desktop-builds.yml
vendored
24
.github/workflows/dev-desktop-builds.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: "dev-desktop-builds"
|
name: Development desktop builds
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -10,6 +10,11 @@ on:
|
||||||
- "installer/*.pot"
|
- "installer/*.pot"
|
||||||
- "installer/po/*"
|
- "installer/po/*"
|
||||||
|
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-devdesktop
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GODOT_VERSION: 3.5.2
|
GODOT_VERSION: 3.5.2
|
||||||
GODOT_VERSION_MAC: 3.5.2
|
GODOT_VERSION_MAC: 3.5.2
|
||||||
|
@ -34,7 +39,7 @@ jobs:
|
||||||
echo 'export/windows/wine = "/usr/bin/wine"' >> ~/.config/godot/editor_settings-3.tres
|
echo 'export/windows/wine = "/usr/bin/wine"' >> ~/.config/godot/editor_settings-3.tres
|
||||||
echo 'export/windows/rcedit = "/github/home/.local/share/rcedit/rcedit-x64.exe"' >> ~/.config/godot/editor_settings-3.tres
|
echo 'export/windows/rcedit = "/github/home/.local/share/rcedit/rcedit-x64.exe"' >> ~/.config/godot/editor_settings-3.tres
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup 💻
|
- name: Setup 💻
|
||||||
|
@ -48,7 +53,7 @@ jobs:
|
||||||
cp -R ./pixelorama_data ./build/windows-64bit
|
cp -R ./pixelorama_data ./build/windows-64bit
|
||||||
rm ./build/windows-64bit/pixelorama_data/.gdignore
|
rm ./build/windows-64bit/pixelorama_data/.gdignore
|
||||||
- name: Upload Artifact 🚀
|
- name: Upload Artifact 🚀
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Windows-64bit
|
name: Windows-64bit
|
||||||
path: ./build/windows-64bit/
|
path: ./build/windows-64bit/
|
||||||
|
@ -61,7 +66,7 @@ jobs:
|
||||||
image: docker://barichello/godot-ci:3.5.2
|
image: docker://barichello/godot-ci:3.5.2
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup 💻
|
- name: Setup 💻
|
||||||
|
@ -82,21 +87,22 @@ jobs:
|
||||||
chmod +x ./build/linux-rpi4/$EXPORT_NAME.rpi4
|
chmod +x ./build/linux-rpi4/$EXPORT_NAME.rpi4
|
||||||
- name: Copy pixelorama_data folder 📁
|
- name: Copy pixelorama_data folder 📁
|
||||||
run: |
|
run: |
|
||||||
|
rm ./pixelorama_data/.gdignore
|
||||||
cp -R ./pixelorama_data ./build/linux-64bit
|
cp -R ./pixelorama_data ./build/linux-64bit
|
||||||
rm ./build/linux-64bit/pixelorama_data/.gdignore
|
cp -R ./pixelorama_data ./build/linux-rpi4
|
||||||
- name: Create tar.gz archive 🗜️
|
- name: Create tar.gz archive 🗜️
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
tar zcvf linux-64bit.tar.gz linux-64bit
|
tar zcvf linux-64bit.tar.gz linux-64bit
|
||||||
tar zcvf linux-rpi4.tar.gz linux-rpi4
|
tar zcvf linux-rpi4.tar.gz linux-rpi4
|
||||||
- name: Upload Artifact 🚀
|
- name: Upload Artifact 🚀
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Linux-64bit
|
name: Linux-64bit
|
||||||
path: ./build/linux-64bit.tar.gz
|
path: ./build/linux-64bit.tar.gz
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
- name: Upload Raspberry Pi 4 Artifact 🚀
|
- name: Upload Raspberry Pi 4 Artifact 🚀
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Linux-rpi4
|
name: Linux-rpi4
|
||||||
path: ./build/linux-rpi4.tar.gz
|
path: ./build/linux-rpi4.tar.gz
|
||||||
|
@ -107,7 +113,7 @@ jobs:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup environment 🔧
|
- name: Setup environment 🔧
|
||||||
|
@ -147,7 +153,7 @@ jobs:
|
||||||
- name: Create DMG archive 🔧
|
- name: Create DMG archive 🔧
|
||||||
run: hdiutil create -srcfolder ./build/mac -fs HFS+ -volname Pixelorama ./build/mac/Pixelorama.dmg
|
run: hdiutil create -srcfolder ./build/mac -fs HFS+ -volname Pixelorama ./build/mac/Pixelorama.dmg
|
||||||
- name: Upload Artifact 🚀
|
- name: Upload Artifact 🚀
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Mac
|
name: Mac
|
||||||
path: ./build/mac/Pixelorama.dmg
|
path: ./build/mac/Pixelorama.dmg
|
||||||
|
|
8
.github/workflows/dev-web.yml
vendored
8
.github/workflows/dev-web.yml
vendored
|
@ -1,9 +1,13 @@
|
||||||
name: "dev-web"
|
name: Development Web build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-devweb
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GODOT_VERSION: 3.5.2
|
GODOT_VERSION: 3.5.2
|
||||||
EXPORT_NAME: Pixelorama
|
EXPORT_NAME: Pixelorama
|
||||||
|
@ -16,7 +20,7 @@ jobs:
|
||||||
image: docker://barichello/godot-ci:3.5.2
|
image: docker://barichello/godot-ci:3.5.2
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup 💻
|
- name: Setup 💻
|
||||||
|
|
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: "release"
|
name: Stable release builds
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -30,7 +30,7 @@ jobs:
|
||||||
echo 'export/windows/wine = "/usr/bin/wine"' >> ~/.config/godot/editor_settings-3.tres
|
echo 'export/windows/wine = "/usr/bin/wine"' >> ~/.config/godot/editor_settings-3.tres
|
||||||
echo 'export/windows/rcedit = "/github/home/.local/share/rcedit/rcedit-x64.exe"' >> ~/.config/godot/editor_settings-3.tres
|
echo 'export/windows/rcedit = "/github/home/.local/share/rcedit/rcedit-x64.exe"' >> ~/.config/godot/editor_settings-3.tres
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup 💻
|
- name: Setup 💻
|
||||||
|
@ -43,12 +43,10 @@ jobs:
|
||||||
godot -v --export "Windows Desktop 32-bit" ./build/windows-32bit/$EXPORT_NAME.exe
|
godot -v --export "Windows Desktop 32-bit" ./build/windows-32bit/$EXPORT_NAME.exe
|
||||||
- name: Copy pixelorama_data folder 📁
|
- name: Copy pixelorama_data folder 📁
|
||||||
run: |
|
run: |
|
||||||
|
rm ./pixelorama_data/.gdignore
|
||||||
cp -R ./pixelorama_data ./build/windows-64bit
|
cp -R ./pixelorama_data ./build/windows-64bit
|
||||||
rm ./build/windows-64bit/pixelorama_data/.gdignore
|
|
||||||
cp -R ./pixelorama_data ./build/windows-32bit
|
cp -R ./pixelorama_data ./build/windows-32bit
|
||||||
rm ./build/windows-32bit/pixelorama_data/.gdignore
|
|
||||||
cp -R ./pixelorama_data ./build
|
cp -R ./pixelorama_data ./build
|
||||||
rm ./build/pixelorama_data/.gdignore
|
|
||||||
- name: Zip 🗜️
|
- name: Zip 🗜️
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: |
|
run: |
|
||||||
|
@ -81,7 +79,7 @@ jobs:
|
||||||
image: docker://barichello/godot-ci:3.5.2
|
image: docker://barichello/godot-ci:3.5.2
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup 💻
|
- name: Setup 💻
|
||||||
|
@ -104,10 +102,10 @@ jobs:
|
||||||
chmod +x ./build/linux-rpi4/$EXPORT_NAME.rpi4
|
chmod +x ./build/linux-rpi4/$EXPORT_NAME.rpi4
|
||||||
- name: Copy pixelorama_data folder 📁
|
- name: Copy pixelorama_data folder 📁
|
||||||
run: |
|
run: |
|
||||||
|
rm ./pixelorama_data/.gdignore
|
||||||
cp -R ./pixelorama_data ./build/linux-64bit
|
cp -R ./pixelorama_data ./build/linux-64bit
|
||||||
rm ./build/linux-64bit/pixelorama_data/.gdignore
|
|
||||||
cp -R ./pixelorama_data ./build/linux-32bit
|
cp -R ./pixelorama_data ./build/linux-32bit
|
||||||
rm ./build/linux-32bit/pixelorama_data/.gdignore
|
cp -R ./pixelorama_data ./build/linux-rpi4
|
||||||
- name: Create tar.gz archive 🗜️
|
- name: Create tar.gz archive 🗜️
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
|
@ -133,7 +131,7 @@ jobs:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup environment 🔧
|
- name: Setup environment 🔧
|
||||||
|
@ -194,7 +192,7 @@ jobs:
|
||||||
image: docker://barichello/godot-ci:3.5.2
|
image: docker://barichello/godot-ci:3.5.2
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup 💻
|
- name: Setup 💻
|
||||||
|
|
4
.github/workflows/static-checks.yml
vendored
4
.github/workflows/static-checks.yml
vendored
|
@ -9,6 +9,10 @@ on:
|
||||||
- "addons/**"
|
- "addons/**"
|
||||||
- "src/**"
|
- "src/**"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-static
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
static-checks:
|
static-checks:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue