diff options
author | Josh Soref <[email protected]> | 2020-08-26 12:26:01 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2020-11-08 16:36:11 -0500 |
commit | 2705edb6ecfb5e1f8a2ea963d2552fd2ef8d3eaa (patch) | |
tree | ede1837cd2abc21c8582d232bf343ac80211e7ac /.github | |
parent | 1cd393c86da6b446b6f08c6bb216135006ade770 (diff) |
github: Remove trailing whitespace from workflows.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/linux.yml | 8 | ||||
-rw-r--r-- | .github/workflows/mac.yml | 7 | ||||
-rw-r--r-- | .github/workflows/notify.yml | 4 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 30 |
4 files changed, 24 insertions, 25 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2b340dfff..5a3cbaa5f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Print Warning run: | - echo "Builds are disabled for forked repositories." + echo "Builds are disabled for forked repositories." build: name: Build on Ubuntu @@ -19,18 +19,18 @@ jobs: if: github.repository == 'HandBrake/HandBrake' steps: - uses: actions/checkout@master - + - name: Setup Environment run: | sudo apt-get update - sudo apt-get install autoconf automake build-essential cmake git libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libnuma-dev + sudo apt-get install autoconf automake build-essential cmake git libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libnuma-dev sudo apt-get install libogg-dev libopus-dev libsamplerate-dev libspeex-dev libtheora-dev libtool libtool-bin libvorbis-dev libx264-dev libxml2-dev libvpx-dev m4 make nasm ninja-build patch pkg-config python tar yasm zlib1g-dev sudo apt-get install python3-pip sudo apt-get install python3-setuptools sudo pip3 install meson sudo apt-get install gstreamer1.0-libav intltool libappindicator-dev libdbus-glib-1-dev libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgtk-3-dev libgudev-1.0-dev libnotify-dev sudo apt-get install libva-dev libdrm-dev - + - name: Build HandBrake Linux run: | ./configure --launch-jobs=0 --disable-gtk-update-checks --enable-qsv --launch diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 9d063c333..bc8a5fac7 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -13,8 +13,7 @@ jobs: steps: - name: Print Warning run: | - echo "Builds are disabled for forked repositories." - + echo "Builds are disabled for forked repositories." build: name: Build on macOS @@ -34,7 +33,7 @@ jobs: if: steps.mac-toolchain.outputs.cache-hit != 'true' run: | scripts/mac-toolchain-build /usr/local - + - name: Build HandBrake run: | git submodule update --init --recursive @@ -42,7 +41,7 @@ jobs: cd build make ub make pkg.create - + - name: Upload Assets uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml index 6bb277925..9ffeb0b5c 100644 --- a/.github/workflows/notify.yml +++ b/.github/workflows/notify.yml @@ -1,5 +1,5 @@ name: "Push Notification" -on: +on: push: pull_request: types: [opened, review_requested] @@ -18,7 +18,7 @@ jobs: port: 6697 tls: true message: | - COMMIT: ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }} ${{ join(github.event.commits.*.message) }} + COMMIT: ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }} ${{ join(github.event.commits.*.message) }} - name: Handle Pull Request uses: rectalogic/notify-irc@v1 if: github.event_name == 'pull_request' && github.repository == 'HandBrake/HandBrake' diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index cd85f1458..73acaa678 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@master - + - name: Environment Setup run: | sudo apt-get install automake autoconf build-essential cmake curl gcc git intltool libtool libtool-bin m4 make nasm patch pkg-config python tar yasm zlib1g-dev ninja-build zip @@ -16,7 +16,7 @@ jobs: sudo apt-get install python3-pip sudo apt-get install python3-setuptools sudo pip3 install meson - + - name: Setup Toolchain run: | wget https://github.com/bradleysepos/mingw-w64-build/releases/download/9.1.0/mingw-w64-toolchain-9.1.0-linux-x86_64.tar.gz @@ -35,20 +35,20 @@ jobs: echo "Toolchain Verification FAILED. Exiting!" return -1 fi - + - name: Build CLI and LibHB run: | export PATH="/home/runner/work/HandBrake/HandBrake/toolchains/mingw-w64-toolchain-9.1.0-linux-x86_64/mingw-w64-x86_64/bin:${PATH}" ./configure --cross=x86_64-w64-mingw32 --enable-qsv --enable-vce --enable-nvenc --launch-jobs=$(nproc) --launch cd build make pkg.create.zip - + - name: Upload HandBrakeCLI uses: actions/upload-artifact@v2 with: name: HandBrakeCLI path: ./build/HandBrakeCLI.exe - + - name: Upload LibHB uses: actions/upload-artifact@v2 with: @@ -61,35 +61,35 @@ jobs: needs: build_mingw env: SigningCertificate: ${{ secrets.HandBrakeTeam_SignFile }} - + steps: - uses: actions/checkout@master - + - name: Environment Setup run: | choco install wget wget https://nsis.sourceforge.io/mediawiki/images/c/c9/Inetc.zip mkdir plugins move Inetc.zip plugins - cd plugins + cd plugins 7z x Inetc.zip - + - name: NuGet Restore run: | choco install nuget.commandline cd win/CS/ nuget restore HandBrake.sln - + - name: Download LibHandBrake uses: actions/download-artifact@v2 with: name: LibHandBrake path: win/CS/HandBrakeWPF/bin/x64/Debug - + - name: Import the Signing Cert run: | $ErrorView = "NormalView" - if (-NOT ($env:SigningCertificate -eq '')) { + if (-NOT ($env:SigningCertificate -eq '')) { $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.HandBrakeTeam_Pfx }}") $currentDirectory = Get-Location $certificatePath = Join-Path -Path $currentDirectory -ChildPath $env:SigningCertificate @@ -97,9 +97,9 @@ jobs: [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte) cp $certificatePath win\cs\ } - + - name: Build Windows GUI - run: | + run: | $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" msbuild win\cs\build.xml /t:Nightly /p:PfxFile=$env:SigningCertificate /p:PfxPwd=${{ secrets.HandBrakeTeam_pfx_pwd }} /p:SignTimestampServer=http://time.certum.pl/ @@ -108,7 +108,7 @@ jobs: with: name: HandBrake-x86_64-Win_GUI-EXE path: win/CS/HandBrakeWPF/bin/x64/Debug/HandBrake-Nightly-x86_64-Win_GUI.exe - + - name: Upload HandBrake msi Installer uses: actions/upload-artifact@v2 with: |