Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows用実行バイナリの自動ビルド (#219) #264

Merged
merged 63 commits into from
Sep 29, 2021
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
5abac17
add VOICEVOX_ENGINE_DIR env for electron-builder
aoirint Sep 24, 2021
c089858
add linux electron-builder config
aoirint Sep 24, 2021
deeb711
add workflow
aoirint Sep 24, 2021
465c466
pack VOICEVOX ENGINE
aoirint Sep 24, 2021
12c376d
fix workflow
aoirint Sep 24, 2021
a410904
rm engine archive to free space
aoirint Sep 24, 2021
6196b6c
name steps
aoirint Sep 24, 2021
ed5e2a8
show disk space
aoirint Sep 24, 2021
2ff32f1
update voicevox engine run path for linux
aoirint Sep 24, 2021
afdb4c7
revert linux diff
aoirint Sep 24, 2021
bb548bf
remove original engine after artifact build
aoirint Sep 25, 2021
5c4a728
Merge remote-tracking branch 'origin/main' into patch-build-workflow
aoirint Sep 25, 2021
283e559
env check; empty string or undefined
aoirint Sep 25, 2021
51813fe
fail-fast false
aoirint Sep 25, 2021
2396199
upload win unpacked
aoirint Sep 25, 2021
597b01c
stage build
aoirint Sep 25, 2021
3ffdd9b
prepackaged
aoirint Sep 25, 2021
8448c06
fix prepackage
aoirint Sep 25, 2021
460ff2a
add disk space disp
aoirint Sep 25, 2021
5776d28
merge nsis-web artifact
aoirint Sep 25, 2021
cce5bb0
engine-prepackage
aoirint Sep 25, 2021
f734d96
upload to release
aoirint Sep 25, 2021
6dad7df
fix dir
aoirint Sep 25, 2021
1107ab0
fix merge condition
aoirint Sep 25, 2021
a55a07f
rename job; distributable
aoirint Sep 25, 2021
e99cf4e
fix engine copy
aoirint Sep 25, 2021
c66e598
fix matrix var name
aoirint Sep 25, 2021
e1e869a
fix step name
aoirint Sep 25, 2021
b76a7d9
fix matrix var ref
aoirint Sep 25, 2021
04478e5
add fixme note to rename before upload to asset
aoirint Sep 25, 2021
731179a
disable cpu build
aoirint Sep 25, 2021
b00d807
enable cpu engine prepackage
aoirint Sep 25, 2021
e0607ab
build distributable only on release
aoirint Sep 25, 2021
22f8b52
build on push master
aoirint Sep 25, 2021
0bf2df9
fix commented step name
aoirint Sep 25, 2021
0404799
build on push main
aoirint Sep 25, 2021
7d54077
revert removeOriginalEngine diff
aoirint Sep 26, 2021
09e5dea
temporary use Hiroshiba/voicevox_engine check-2021-09-25
aoirint Sep 26, 2021
cec9dd9
use env to define voicevox engine repo/ver
aoirint Sep 26, 2021
557036c
use env directly (env cannot be used in matrix)
aoirint Sep 26, 2021
90f38af
add noengine-prepackage name and path in matrix
aoirint Sep 26, 2021
43ca785
impl upload-distributable-to-release
aoirint Sep 26, 2021
2e7944c
Merge remote-tracking branch 'origin/main' into patch-build-workflow
aoirint Sep 28, 2021
ad793f9
generate public/licenses.json
aoirint Sep 28, 2021
594bb07
ci licenses.json
aoirint Sep 28, 2021
c375eef
mkdir
aoirint Sep 28, 2021
ec464fe
engine
aoirint Sep 28, 2021
d0b1065
Update build.yml
aoirint Sep 29, 2021
3ef101f
npm ci
aoirint Sep 29, 2021
a9aad84
license: use packageName if name is undefined
aoirint Sep 29, 2021
2c899c1
Merge remote-tracking branch 'origin/main' into patch-build-workflow
aoirint Sep 29, 2021
94b877a
revert packageName substitution
aoirint Sep 29, 2021
dc1731c
skip uploading to release
aoirint Sep 29, 2021
74e7184
parentheses
aoirint Sep 29, 2021
97971e3
add comment
aoirint Sep 29, 2021
2d19495
env SKIP_UPLOADING_RELEASE_ASSET
aoirint Sep 29, 2021
4267fc2
commonize os matrix
aoirint Sep 29, 2021
df8878b
Merge remote-tracking branch 'origin/main' into patch-build-workflow
aoirint Sep 29, 2021
370cc71
fix env usage
aoirint Sep 29, 2021
fab57e5
add note about VOICEVOX ENGINE cache
aoirint Sep 29, 2021
84f0788
use .node_version for Node Setup in engine prepackaging
aoirint Sep 29, 2021
f5f515e
cahce version env
aoirint Sep 29, 2021
cb12e8a
use shell bash
aoirint Sep 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
name steps
aoirint committed Sep 24, 2021
commit 6196b6c4dfc826032b27eb20dd15351ee2e077a4
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -42,11 +42,13 @@ jobs:
steps:
- uses: actions/checkout@master

- shell: bash
- name: Create directory voicevox_engine/download
shell: bash
run: |
mkdir -p voicevox_engine/download

- shell: bash
- name: Dump VOICEVOX ENGINE repo URL to calc hash
shell: bash
run: |
echo "${{ env.VOICEVOX_ENGINE_REPO_URL }}" > voicevox_engine/repo_url.txt

@@ -75,15 +77,17 @@ jobs:
# remove downloads to free space
rm -rf voicevox_engine/download

- id: node-version
- name: Output Node version
id: node-version
shell: bash
run: echo "::set-output name=NODE_VERSION::$(cat .node-version)"

- uses: actions/setup-node@master
with:
node-version: "${{ steps.node-version.outputs.NODE_VERSION }}"

- uses: actions/cache@master
- name: Cache Node packages
uses: actions/cache@master
with:
path: ~/.npm
key: ${{ env.cache-version }}-node-${{ hashFiles('**/package-lock.json') }}