mirror of
https://github.com/jellyfin/jellyfin-server-macos.git
synced 2024-11-23 05:59:39 +00:00
Merge pull request #20 from anthonylavado/renew-ci
Remove unneeded build steps
This commit is contained in:
commit
b8642fff91
@ -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'
|
Loading…
Reference in New Issue
Block a user