Skip to content

SOTA Open Source TTS

Auto build data server

Lengyueeac3b6840dd0
diff --git a/.github/workflows/data-server.yml b/.github/workflows/data-server.yml
new file mode 100644
index 0000000..8fa7475
--- /dev/null
+++ b/.github/workflows/data-server.yml
@@ -0,0 +1,31 @@
+name: data-server
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - data_server
+ workflow_dispatch: {}
+
+jobs:
+ build:
+ name: release ${{ matrix.target }}
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Compile
+ uses: rust-build/[email protected]
+ with:
+ RUSTTARGET: ${{ matrix.target }}
+ UPLOAD_MODE: none
+ - name: Upload artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: Binary
+ path: |
+ ${{ steps.compile.outputs.BUILT_ARCHIVE }}
+ ${{ steps.compile.outputs.BUILT_CHECKSUM }}