Skip to content

Instantly share code, notes, and snippets.

@mark-kendall
Created December 10, 2020 11:22
Show Gist options
  • Save mark-kendall/0771b49e4eeaf098f6f286e2bbab47c2 to your computer and use it in GitHub Desktop.
Save mark-kendall/0771b49e4eeaf098f6f286e2bbab47c2 to your computer and use it in GitHub Desktop.
Windows build
buildwin:
name: build windows
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- name: Setup MSYS64
uses: msys2/setup-msys2@v2
with:
release: false
install: git base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-ccache mingw-w64-x86_64-qt5 mingw-w64-x86_64-qtwebkit
mingw-w64-x86_64-nasm mingw-w64-x86_64-libsamplerate mingw-w64-x86_64-libass mingw-w64-x86_64-taglib mingw-w64-x86_64-lzo2
mingw-w64-x86_64-libbluray mingw-w64-x86_64-dav1d mingw-w64-x86_64-x264-git mingw-w64-x86_64-x265 mingw-w64-x86_64-lame
mingw-w64-x86_64-libvpx mingw-w64-x86_64-gnutls mingw-w64-x86_64-fftw
- name: Checkout master
uses: actions/checkout@v2
- name: Check ccache
uses: actions/cache@v2
with:
path: ~/.ccache
key: ${{ runner.os }}-ccache-${{ github.sha }}
restore-keys: ${{ runner.os }}-ccache
- name: Check working directory
run: echo $PWD
- name: Configure core
working-directory: ./mythtv
run: ./configure --disable-w32threads --prefix=$PWD/build/install
- name: Make core
working-directory: ./mythtv
run: make all_no_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment