Live video on the AT Protocol

ci: add windows-selftest to github (#179)

* ci: add windows-selftest to github

* ci: on

* ci: cd

* ci: more better

* ci: it's like app data but local-er

* ci: actually build the dang thing

* ci: windows desktop desktop windows

authored by Eli Mallon and committed by GitHub 67bb56ad 0e6712a8

+32 -2
+31 -1
.github/workflows/build.yaml
··· 23 23 - name: linux-arm64 24 24 cmd: "make app && make linux-arm64" 25 25 - name: windows-amd64 26 - cmd: "make app && make windows-amd64" 26 + cmd: "make app && make windows-amd64 && make desktop-windows" 27 27 - name: android 28 28 cmd: "make app && make android-release" 29 29 steps: ··· 37 37 run: | 38 38 sudo apt install podman -y 39 39 make in-container DOCKER_OPTS="-e STREAMPLACE_IGNORE_LEAKS=true -e STREAMPLACE_TEST_COUNT=1 -e CI=true" IN_CONTAINER_CMD="${{ matrix.cmd }}" 40 + 41 + - name: Upload bin artifacts 42 + if: matrix.name == 'windows-amd64' 43 + uses: actions/upload-artifact@v4 44 + with: 45 + name: windows-bin 46 + path: ./bin/ 47 + retention-days: 1 48 + 49 + windows-selftest: 50 + name: windows-selftest 51 + runs-on: windows-latest 52 + needs: linux 53 + steps: 54 + - name: Download bin artifacts 55 + uses: actions/download-artifact@v4 56 + with: 57 + name: windows-bin 58 + path: ./bin/ 59 + 60 + - name: Run Windows executable 61 + shell: bash 62 + run: | 63 + set -euo pipefail 64 + echo "running $PWD/bin/*.exe" 65 + ./bin/*.exe 66 + powershell -Command "Stop-Process -Name Streamplace" 67 + cd "$LOCALAPPDATA/streamplace_desktop" 68 + cd app-* 69 + ./Streamplace.exe -- --self-test 40 70 41 71 darwin: 42 72 name: ${{ matrix.name }}
+1 -1
util/windows-selftest.sh
··· 6 6 curl -L -o streamplace-desktop.exe "$1" 7 7 ./streamplace-desktop.exe 8 8 powershell -Command "Stop-Process -Name Streamplace" 9 - cd /c/Users/admin/AppData/Local/streamplace_desktop 9 + cd "$LOCALAPPDATA/streamplace_desktop" 10 10 cd app-* 11 11 ./Streamplace.exe -- --self-test