mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-12-30 17:45:57 +00:00
Add 32 bits builds in CI
This commit is contained in:
parent
5abf6317ef
commit
1d963924ce
76
.github/workflows/release.yml
vendored
76
.github/workflows/release.yml
vendored
|
@ -16,12 +16,32 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libspeechd-dev
|
sudo apt-get install -y libspeechd-dev
|
||||||
cargo build --release
|
cargo build --release
|
||||||
mv target linux
|
mkdir linux
|
||||||
|
mv target/release/*.so linux
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: linux
|
path: linux
|
||||||
|
|
||||||
|
build_linux_32:
|
||||||
|
name: Build Linux (32 bits)
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
- run: |
|
||||||
|
sudo dpkg --add-architecture i386
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libspeechd-dev:i386 gcc-multilib
|
||||||
|
rustup target add i686-unknown-linux-gnu
|
||||||
|
cargo build --release --target i686-unknown-linux-gnu
|
||||||
|
mkdir linux-32
|
||||||
|
mv target/i686-unknown-linux-gnu/release/*.so linux-32
|
||||||
|
- uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: linux-32
|
||||||
|
path: linux-32
|
||||||
|
|
||||||
build_windows:
|
build_windows:
|
||||||
name: Build Windows
|
name: Build Windows
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
@ -33,12 +53,32 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
choco install -qy llvm
|
choco install -qy llvm
|
||||||
cargo build --release
|
cargo build --release
|
||||||
move target windows
|
mkdir windows
|
||||||
|
move target\release\*.dll windows
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: windows
|
name: windows
|
||||||
path: windows
|
path: windows
|
||||||
|
|
||||||
|
build_windows_32:
|
||||||
|
name: Build Windows (32 bits)
|
||||||
|
runs-on: windows-latest
|
||||||
|
env:
|
||||||
|
LIBCLANG_PATH: c:\program files\llvm\bin
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
- run: |
|
||||||
|
choco install -qy llvm
|
||||||
|
rustup target add i686-pc-windows-msvc
|
||||||
|
cargo build --release --target i686-pc-windows-msvc
|
||||||
|
mkdir windows-32
|
||||||
|
move target\i686-pc-windows-msvc\release\*.dll windows-32
|
||||||
|
- uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: windows-32
|
||||||
|
path: windows-32
|
||||||
|
|
||||||
build_uwp:
|
build_uwp:
|
||||||
name: Build UWP
|
name: Build UWP
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
@ -50,8 +90,8 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
choco install -y llvm
|
choco install -y llvm
|
||||||
cargo build --release
|
cargo build --release
|
||||||
move target uwp
|
mkdir uwp
|
||||||
move uwp\release\godot_tts.dll uwp\release\godot_tts.uwp.dll
|
move target\release\godot_tts.dll uwp\godot_tts.uwp.dll
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: uwp
|
name: uwp
|
||||||
|
@ -65,7 +105,8 @@ jobs:
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
- run: |
|
- run: |
|
||||||
cargo build --release
|
cargo build --release
|
||||||
mv target macos
|
mkdir macos
|
||||||
|
mv target/release/*.dylib macos
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: macos
|
name: macos
|
||||||
|
@ -101,7 +142,8 @@ jobs:
|
||||||
rustup target add aarch64-apple-ios x86_64-apple-ios
|
rustup target add aarch64-apple-ios x86_64-apple-ios
|
||||||
cargo install cargo-lipo
|
cargo install cargo-lipo
|
||||||
cargo lipo --release
|
cargo lipo --release
|
||||||
mv target ios
|
mkdir ios
|
||||||
|
mv target/universal/release/*.a ios
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: ios
|
name: ios
|
||||||
|
@ -113,7 +155,9 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
[
|
[
|
||||||
build_linux,
|
build_linux,
|
||||||
|
build_linux_32,
|
||||||
build_windows,
|
build_windows,
|
||||||
|
build_windows_32,
|
||||||
build_uwp,
|
build_uwp,
|
||||||
build_macos,
|
build_macos,
|
||||||
build_android,
|
build_android,
|
||||||
|
@ -124,9 +168,15 @@ jobs:
|
||||||
- uses: actions/download-artifact@v1
|
- uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
|
- uses: actions/download-artifact@v1
|
||||||
|
with:
|
||||||
|
name: linux-32
|
||||||
- uses: actions/download-artifact@v1
|
- uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: windows
|
name: windows
|
||||||
|
- uses: actions/download-artifact@v1
|
||||||
|
with:
|
||||||
|
name: windows-32
|
||||||
- uses: actions/download-artifact@v1
|
- uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: uwp
|
name: uwp
|
||||||
|
@ -140,13 +190,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ios
|
name: ios
|
||||||
- run: |
|
- run: |
|
||||||
mkdir -p godot-tts/target/release
|
mkdir -p godot-tts/target/release/32
|
||||||
cp linux/release/*.so godot-tts/target/release
|
cp linux/*.so godot-tts/target/release
|
||||||
cp windows/release/*.dll godot-tts/target/release
|
cp linux-32/*.so godot-tts/target/release/32
|
||||||
cp uwp/release/godot_tts.uwp.dll godot-tts/target/release
|
cp windows/*.dll godot-tts/target/release
|
||||||
cp macos/release/*.dylib godot-tts/target/release
|
cp windows-32/*.dll godot-tts/target/release/32
|
||||||
|
cp uwp/*.dll godot-tts/target/release
|
||||||
|
cp macos/*.dylib godot-tts/target/release
|
||||||
cp android/outputs/aar/godot-tts.aar godot-tts/
|
cp android/outputs/aar/godot-tts.aar godot-tts/
|
||||||
cp ios/universal/release/*.a godot-tts/target/release
|
cp ios/*.a godot-tts/target/release
|
||||||
cp LICENSE godot-tts
|
cp LICENSE godot-tts
|
||||||
cp README.md godot-tts
|
cp README.md godot-tts
|
||||||
cp TTS.gd godot-tts.g* godot-tts
|
cp TTS.gd godot-tts.g* godot-tts
|
||||||
|
|
|
@ -2,14 +2,17 @@
|
||||||
|
|
||||||
Server.64="res://addons/godot-tts/target/debug/libgodot_tts.so"
|
Server.64="res://addons/godot-tts/target/debug/libgodot_tts.so"
|
||||||
Windows.64="res://addons/godot-tts/target/debug/godot_tts.dll"
|
Windows.64="res://addons/godot-tts/target/debug/godot_tts.dll"
|
||||||
|
Windows.32="res://addons/godot-tts/target/debug/32/godot_tts.dll"
|
||||||
UWP.64="res://addons/godot-tts/target/debug/godot_tts.dll"
|
UWP.64="res://addons/godot-tts/target/debug/godot_tts.dll"
|
||||||
X11.64="res://addons/godot-tts/target/debug/libgodot_tts.so"
|
X11.64="res://addons/godot-tts/target/debug/libgodot_tts.so"
|
||||||
|
X11.32="res://addons/godot-tts/target/debug/32/libgodot_tts.so"
|
||||||
OSX.64="res://addons/godot-tts/target/debug/libgodot_tts.dylib"
|
OSX.64="res://addons/godot-tts/target/debug/libgodot_tts.dylib"
|
||||||
IOS="res://addons/godot-tts/target/universal/debug/libgodot_tts.a"
|
IOS="res://addons/godot-tts/target/debug/libgodot_tts.a"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
Windows.64=["res://addons/godot-tts/target/debug/nvdaControllerClient64.dll", "res://addons/godot-tts/target/debug/SAAPI64.dll"]
|
Windows.64=[ "res://addons/godot-tts/target/debug/nvdaControllerClient64.dll", "res://addons/godot-tts/target/debug/SAAPI64.dll" ]
|
||||||
|
Windows.32=[ "res://addons/godot-tts/target/debug/32/dolapi32.dll", "res://addons/godot-tts/target/debug/32/nvdaControllerClient32.dll", "res://addons/godot-tts/target/debug/32/SAAPI32.dll" ]
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
|
|
||||||
|
|
|
@ -2,15 +2,17 @@
|
||||||
|
|
||||||
Server.64="res://addons/godot-tts/target/release/libgodot_tts.so"
|
Server.64="res://addons/godot-tts/target/release/libgodot_tts.so"
|
||||||
Windows.64="res://addons/godot-tts/target/release/godot_tts.dll"
|
Windows.64="res://addons/godot-tts/target/release/godot_tts.dll"
|
||||||
|
Windows.32="res://addons/godot-tts/target/release/32/godot_tts.dll"
|
||||||
UWP.64="res://addons/godot-tts/target/release/godot_tts.uwp.dll"
|
UWP.64="res://addons/godot-tts/target/release/godot_tts.uwp.dll"
|
||||||
X11.64="res://addons/godot-tts/target/release/libgodot_tts.so"
|
X11.64="res://addons/godot-tts/target/release/libgodot_tts.so"
|
||||||
|
X11.32="res://addons/godot-tts/target/release/32/libgodot_tts.so"
|
||||||
OSX.64="res://addons/godot-tts/target/release/libgodot_tts.dylib"
|
OSX.64="res://addons/godot-tts/target/release/libgodot_tts.dylib"
|
||||||
IOS="res://addons/godot-tts/target/release/libgodot_tts.a"
|
IOS="res://addons/godot-tts/target/release/libgodot_tts.a"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
Windows.64=["res://addons/godot-tts/target/release/nvdaControllerClient64.dll", "res://addons/godot-tts/target/release/SAAPI64.dll"]
|
Windows.64=[ "res://addons/godot-tts/target/release/nvdaControllerClient64.dll", "res://addons/godot-tts/target/release/SAAPI64.dll" ]
|
||||||
X11.64=[ ]
|
Windows.32=[ "res://addons/godot-tts/target/release/32/dolapi32.dll", "res://addons/godot-tts/target/release/32/nvdaControllerClient32.dll", "res://addons/godot-tts/target/release/32/SAAPI32.dll" ]
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user