Add shortcut Ctrl+V to paste URL quickly #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ develop ] | |
jobs: | |
win-build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Enable MSVC commands | |
uses: ilammy/msvc-dev-cmd@v1 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: '6.4.*' | |
- name: Install MPV | |
shell: cmd | |
run: scripts\win-install-mpv.bat | |
- name: Build | |
run: |- | |
cmake -A x64 . | |
cmake --build . --config Release | |
- name: Deploy | |
shell: bash | |
run: ./scripts/deploy-windows.sh | |
- name: Upload packages | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
UPLOADTOOL_ISPRERELEASE: true | |
run: | | |
set -e | |
curl -Lo upload.sh https://github.com/probonopd/uploadtool/raw/master/upload.sh | |
bash upload.sh MoonPlayer_*.exe | |
linux-build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: '6.4.*' | |
- name: Install dependencies | |
run: |- | |
sudo apt-get update | |
sudo apt-get install -y ffmpeg libmpv-dev libcurl4-openssl-dev libssl-dev libxkbcommon-x11-0 | |
- name: Build | |
run: |- | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . | |
make | |
- name: Deploy | |
run: bash ./scripts/deploy-linux.sh | |
- name: Upload packages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
UPLOADTOOL_ISPRERELEASE: true | |
run: | | |
set -e | |
curl -Lo upload.sh https://github.com/probonopd/uploadtool/raw/master/upload.sh | |
bash upload.sh MoonPlayer-*.AppImage | |
macos-build: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install dependencies | |
env: | |
HOMEBREW_NO_AUTO_UPDATE: 1 | |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 | |
run: |- | |
brew tap coslyk/mpv | |
brew update | |
brew install openssl mpv-moonplayer freetype double-conversion icu4c jasper jpeg libb2 libtiff pcre2 | |
- name: Install Qt | |
run: |- | |
curl -Lo qt6.zip https://github.com/coslyk/qtlite-build/releases/download/continuous/qt6.zip | |
unzip -o qt6.zip -d $HOME | |
- name: Build packages | |
run: |- | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$HOME/qt6 . | |
make | |
- name: Deploy | |
run: bash ./scripts/deploy-macos.sh | |
- name: Upload packages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
UPLOADTOOL_ISPRERELEASE: true | |
run: | | |
set -e | |
curl -Lo upload.sh https://github.com/probonopd/uploadtool/raw/master/upload.sh | |
bash upload.sh MoonPlayer_*.zip |