aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-01-29 20:12:06 -0700
committerMelody Horn <melody@boringcactus.com>2021-01-29 20:12:06 -0700
commit21a727321713a12b53200b50c8c5878c2a11e0d1 (patch)
treeb4220355f9084f99b41ad419f3c010ad5a41d77c
parentb5bedf7c8bf9ece079619e30f9b64a93610ff577 (diff)
downloadvidslice-21a727321713a12b53200b50c8c5878c2a11e0d1.tar.gz
vidslice-21a727321713a12b53200b50c8c5878c2a11e0d1.zip
make a full windows build that includes dependencies
-rw-r--r--.build.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index b56cfcf..ed013f1 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,6 +1,8 @@
image: alpine/latest
packages:
- py3-pip
+ - p7zip
+ - zip
sources:
- https://git.sr.ht/~boringcactus/vidslice
tasks:
@@ -9,6 +11,17 @@ tasks:
python3 -m pip install -r requirements.txt
- build: |
cd vidslice
- python3 -m zipapp vidslice -o vidslice-dev.pyw -c
+ python3 -m zipapp vidslice -o vidslice.pyw -c
+ - build-full: |
+ cd vidslice
+ wget https://yt-dl.org/downloads/latest/youtube-dl.exe
+ wget https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z
+ p7zip -d ffmpeg-release-full-shared.7z
+ cd ffmpeg-*-full_build-shared
+ cp LICENSE ../LICENSE-ffmpeg
+ cp bin/* ../
+ cd ..
+ zip vidslice-full-win.zip vidslice.pyw *.exe *.dll LICENSE LICENSE-ffmpeg
artifacts:
- - vidslice/vidslice-dev.pyw
+ - vidslice/vidslice.pyw
+ - vidslice/vidslice-full-win.zip