mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-18 14:04:17 +08:00
ci
This commit is contained in:
parent
1d3333e83b
commit
2844f699ff
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
@ -30,6 +30,7 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
BT_TOKEN: ${{ secrets.BT_TOKEN }}
|
||||
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
|
||||
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
|
||||
|
||||
- name: Package artifacts
|
||||
run: |
|
||||
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDDFM4nHSbET5V7EYNgjA8NeVfOxV0wVMdZ2YvsDzD+qPJ4+MYbvsL7ZPaSxQSn7n6ATkLHjKje5RpF/Rl9K3kucGs0P6cqJVeE0qryEteQ3Q+fYAk+bD2J9ZQ/hv/0NtLl8T+7lJUZ3WUxFH73sgph77Sw0z+kMpPaK7U2vqMBQD/7+6iJgya31wP0qW0XKDz1BjKeXgwTg10Pm4vcGsR4c2q7YIzSzBHffcyo0vJyFvOX/ZKHlZRcq/wnQMeOl/hPgf1xCENjQZmFVReQlYSw5cNNDT9HZPKekOAZFFez7/AbPiTIo/bnBYIv0mdUjr3nw8nXF505q8LiD3z/ksaaWDqe9CCLM4W0Bh7/dhP7IGPdfX0fVHLhOnYIOsG21D8rWJjMPkVRSLyEvWNAnVuObJNHoQu8VATnOxfPNnMun72IHyyFWVoADk5JcsMbzcP7gZB+5oJO7U1qpcdndtBOA3ZlF0Uz2jVZnqavoEBWT39tl3vs69hAA3aTPGclg7HMuAJOl4HsKmaUgDxqV2wCX/S4pDqmKMbmumDLX+MM0xl0gXj/zpVJp9BzdnrArkC40ivmC6TSA4wrdN0tNBlqApkH5/jxGWrcu2AXVn9PGF3+QrjW0iu+QMZCaKWDhLIQC835uFwzhnNGlx41B7uxMLuNFxKXdQ3f/cC9QMG8ew== TravisCIDeployKey
|
@ -1,210 +0,0 @@
|
||||
trigger:
|
||||
tags:
|
||||
include:
|
||||
- v*
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
|
||||
variables:
|
||||
- group: Vars
|
||||
|
||||
jobs:
|
||||
# - job: Windows
|
||||
# pool:
|
||||
# vmImage: 'vs2017-win2016'
|
||||
|
||||
# steps:
|
||||
# - task: NodeTool@0
|
||||
# inputs:
|
||||
# versionSpec: '10.x'
|
||||
# displayName: 'Install Node.js'
|
||||
|
||||
# - script: yarn --network-timeout 100000
|
||||
# displayName: 'Install dependencies'
|
||||
|
||||
# - script: node scripts/build-native.js
|
||||
# displayName: 'Rebuild native dependencies'
|
||||
|
||||
# - script: yarn run build
|
||||
# displayName: 'Build'
|
||||
|
||||
# - script: node scripts/prepackage-plugins.js
|
||||
# displayName: 'Prepackage plugins'
|
||||
|
||||
# - script: node scripts/build-windows.js
|
||||
# displayName: 'Package'
|
||||
# env:
|
||||
# WIN_CSC_LINK: $(WIN_CSC_LINK)
|
||||
# WIN_CSC_KEY_PASSWORD: $(WIN_CSC_KEY_PASSWORD)
|
||||
# BT_TOKEN: $(BT_TOKEN)
|
||||
# GH_TOKEN: $(GH_TOKEN)
|
||||
# DEBUG: electron-builder
|
||||
|
||||
# - task: CopyFiles@2
|
||||
# inputs:
|
||||
# contents: 'dist\\*-setup.exe'
|
||||
# targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
# flattenFolders: true
|
||||
# cleanTargetFolder: true
|
||||
|
||||
# - task: PublishBuildArtifacts@1
|
||||
# inputs:
|
||||
# pathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
# artifactName: Windows - Installer
|
||||
# condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
|
||||
# - task: CopyFiles@2
|
||||
# inputs:
|
||||
# contents: 'dist\\*-portable.exe'
|
||||
# targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
# flattenFolders: true
|
||||
# cleanTargetFolder: true
|
||||
|
||||
# - task: PublishBuildArtifacts@1
|
||||
# inputs:
|
||||
# pathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
# artifactName: Windows - Portable build
|
||||
# condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
|
||||
- job: Linux
|
||||
pool:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: '10.x'
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- script: yarn
|
||||
displayName: 'Install dependencies'
|
||||
|
||||
- script: node scripts/build-native.js
|
||||
displayName: 'Rebuild native dependencies'
|
||||
|
||||
- script: yarn run build
|
||||
displayName: 'Build'
|
||||
|
||||
- script: yarn run lint
|
||||
displayName: 'Lint'
|
||||
|
||||
- script: node scripts/prepackage-plugins.js
|
||||
displayName: 'Prepackage plugins'
|
||||
|
||||
- script: node scripts/build-linux.js
|
||||
displayName: 'Package'
|
||||
env:
|
||||
BT_TOKEN: $(BT_TOKEN)
|
||||
GH_TOKEN: $(GH_TOKEN)
|
||||
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
contents: 'dist/*.deb'
|
||||
targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
flattenFolders: true
|
||||
cleanTargetFolder: true
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
pathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: Linux - DEB
|
||||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
contents: 'dist/*.rpm'
|
||||
targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
flattenFolders: true
|
||||
cleanTargetFolder: true
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
pathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: Linux - RPM
|
||||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
contents: 'dist/*.snap'
|
||||
targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
flattenFolders: true
|
||||
cleanTargetFolder: true
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
pathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: Linux - Snap
|
||||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
contents: 'dist/*.tar.gz'
|
||||
targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
flattenFolders: true
|
||||
cleanTargetFolder: true
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
pathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: Linux - tar.gz
|
||||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
|
||||
# - job: macOS
|
||||
# pool:
|
||||
# vmImage: 'macOS-10.14'
|
||||
|
||||
# steps:
|
||||
# - task: NodeTool@0
|
||||
# inputs:
|
||||
# versionSpec: '10.x'
|
||||
# displayName: 'Install Node.js'
|
||||
|
||||
# - script: yarn
|
||||
# displayName: 'Install dependencies'
|
||||
|
||||
# - script: node scripts/build-native.js
|
||||
# displayName: 'Rebuild native dependencies'
|
||||
|
||||
# - script: yarn run build
|
||||
# displayName: 'Build'
|
||||
|
||||
# - script: node scripts/prepackage-plugins.js
|
||||
# displayName: 'Prepackage plugins'
|
||||
|
||||
# - script: node scripts/build-macos.js
|
||||
# displayName: 'Package'
|
||||
# env:
|
||||
# CSC_LINK: $(CSC_LINK)
|
||||
# CSC_KEY_PASSWORD: $(CSC_KEY_PASSWORD)
|
||||
# BT_TOKEN: $(BT_TOKEN)
|
||||
# GH_TOKEN: $(GH_TOKEN)
|
||||
# APPSTORE_USERNAME: $(APPSTORE_USERNAME)
|
||||
# APPSTORE_PASSWORD: $(APPSTORE_PASSWORD)
|
||||
# DEBUG: electron-builder
|
||||
|
||||
# - task: CopyFiles@2
|
||||
# inputs:
|
||||
# contents: 'dist/*.dmg'
|
||||
# targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
# flattenFolders: true
|
||||
# cleanTargetFolder: true
|
||||
|
||||
# - task: PublishBuildArtifacts@1
|
||||
# inputs:
|
||||
# pathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
# artifactName: macOS - DMG
|
||||
# condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||
|
||||
# - task: CopyFiles@2
|
||||
# inputs:
|
||||
# contents: 'dist/*.zip'
|
||||
# targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
# flattenFolders: true
|
||||
# cleanTargetFolder: true
|
||||
|
||||
# - task: PublishBuildArtifacts@1
|
||||
# inputs:
|
||||
# pathtoPublish: $(Build.ArtifactStagingDirectory)
|
||||
# artifactName: macOS - app.zip
|
||||
# condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
Loading…
Reference in New Issue
Block a user