[BACKEND] Test release binaries in their environment

This commit is contained in:
Jesse Bannon 2023-02-22 23:42:42 -08:00
parent 02f8a3c2a2
commit 099eeb3e7d

View file

@ -84,6 +84,9 @@ jobs:
pyinstaller ytdl-sub.spec pyinstaller ytdl-sub.spec
mkdir -p /opt/builds mkdir -p /opt/builds
mv dist/ytdl-sub /opt/builds/ytdl-sub_linux mv dist/ytdl-sub /opt/builds/ytdl-sub_linux
- name: Test Package
run: |
cd /opt/builds && ./ytdl-sub_linux view "https://www.youtube.com/watch?v=hxV9b-1hjfw"
- name: Save build to cache - name: Save build to cache
uses: actions/cache@v3 uses: actions/cache@v3
@ -122,6 +125,7 @@ jobs:
pip3 install pyinstaller pip3 install pyinstaller
pyinstaller --log-level=DEBUG ytdl-sub.spec pyinstaller --log-level=DEBUG ytdl-sub.spec
mv dist/ytdl-sub /builds/ytdl-sub_${{ matrix.arch }} mv dist/ytdl-sub /builds/ytdl-sub_${{ matrix.arch }}
cd /builds && ./ytdl-sub_${{ matrix.arch }} view "https://www.youtube.com/watch?v=hxV9b-1hjfw"
- name: Save build to cache - name: Save build to cache
uses: actions/cache@v3 uses: actions/cache@v3