Make it build on Windows
Cribbed Windows script from https://github.com/nlowe/mousiki/commit/51bd789ec65fe87556ef3181cb388c26c3b3eb00
This commit is contained in:
1 parent
9f9b8cd222
commit
d3641f3ce0
3 files changed
+25
-1
No files matched your search
@@ -24,7 +24,15 @@ jobs:
|
||||
runs-on: windows-2019
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: choco install gstreamer
|
||||
- name: Install Gstreamer
|
||||
run: |
|
||||
choco install -y --no-progress gstreamer
|
||||
curl -fsSL "https://gstreamer.freedesktop.org/data/pkg/windows/1.16.2/gstreamer-1.0-devel-msvc-x86_64-1.16.2.msi" -o gstreamer-1.0-devel.msi
|
||||
echo "Installing gstreamer-1.0-devel"
|
||||
msiexec /i gstreamer-1.0-devel.msi /qn /norestart
|
||||
echo "Updating Environment"
|
||||
echo "::add-path::C:\gstreamer\1.0\x86_64\bin"
|
||||
echo "::set-env name=GSTREAMER_1_0_ROOT_X86_64::C:\gstreamer\1.0\x86_64\"
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
|
||||
Reference in new issue
Block a user