Skip to content

Commit

Permalink
fix windows build, hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
danjenkins committed Apr 2, 2024
1 parent 6b977d7 commit 5e1fe69
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,25 @@ jobs:
matrix:
os:
- ubuntu-latest
# - windows-latest # see https://github.com/go-gst/go-gst/issues/64
- windows-latest # see https://github.com/go-gst/go-gst/issues/64
- macos-latest
runs-on: ${{ matrix.os }}
steps:
# - name: Downgrade mingw to 11.2.0
# if: runner.os == 'Windows'
# run: choco install mingw --version 11.2.0 --allow-downgrade
- name: install mingw 11.2.0 using choco
if: runner.os == 'Windows'
shell: powershell
run: choco install mingw --version 11.2.0

- name: Add mingw to path on windows
if: runner.os == 'Windows'
run: Add-Content $env:GITHUB_PATH "C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin"
shell: powershell

- name: install pkgconfiglite using choco
if: runner.os == 'Windows'
shell: powershell
run: choco install pkgconfiglite --allow-empty-checksums

- name: Setup GStreamer
id: setup_gstreamer
uses: blinemedical/[email protected]
Expand Down

0 comments on commit 5e1fe69

Please sign in to comment.