Merge pull request #20 from anthonylavado/renew-ci

Remove unneeded build steps
This commit is contained in:
Anthony Lavado 2020-02-17 02:44:43 -05:00 committed by GitHub
commit b8642fff91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,55 +4,6 @@ jobs:
pool:
vmImage: 'macos-latest'
steps:
- task: DownloadGitHubRelease@0
displayName: 'Download macOS Server'
inputs:
connection: Jellyfin Release Download
userRepository: 'jellyfin/jellyfin'
defaultVersionType: 'latest'
itemPattern: 'jellyfin_*_macos.tar.gz'
downloadPath: '$(System.WorkFolder)'
- task: ExtractFiles@1
displayName: 'Extract macOS Server'
inputs:
archiveFilePatterns: '$(System.WorkFolder)/jellyfin_*_macos.tar.gz'
destinationFolder: '$(Pipeline.Workspace)/jellyfin-mac-app-resources'
- task: Bash@3
displayName: 'Copy Files'
inputs:
targetType: 'inline'
script: 'mv $(Pipeline.Workspace)/jellyfin-mac-app-resources/jellyfin* $(Pipeline.Workspace)/jellyfin-mac-app-resources/jellyfin'
failOnStderr: true
- task: Bash@3
displayName: 'Download ffmpeg'
inputs:
targetType: 'inline'
script: 'wget https://ffmpeg.zeranoe.com/builds/macos64/static/ffmpeg-4.2.1-macos64-static.zip -P $(Build.SourcesDirectory)'
failOnStderr: false
- task: ExtractFiles@1
displayName: 'Extract ffmpeg'
inputs:
archiveFilePatterns: '$(Build.SourcesDirectory)/ffmpeg-4.2.1-macos64-static.zip'
destinationFolder: '$(Build.SourcesDirectory)/ffmpegtemp/'
- task: Bash@3
displayName: 'Copy ffmpeg'
inputs:
targetType: 'inline'
script: 'mv $(Build.SourcesDirectory)/ffmpegtemp/ffmpeg*/bin/ffmpeg $(Pipeline.Workspace)/jellyfin-mac-app-resources/'
failOnStderr: true
- task: Bash@3
displayName: 'Copy ffprobe'
inputs:
targetType: 'inline'
script: 'mv $(Build.SourcesDirectory)/ffmpegtemp/ffmpeg*/bin/ffprobe $(Pipeline.Workspace)/jellyfin-mac-app-resources/'
failOnStderr: true
- task: Xcode@5
displayName: 'Build macOS Wrapper'
inputs:
@ -67,4 +18,4 @@ jobs:
inputs:
PathtoPublish: '$(System.DefaultWorkingDirectory)/build/Release/'
ArtifactName: 'jellyfin-macos-wrapper.zip'
publishLocation: 'Container'
publishLocation: 'Container'