diff options
author | Zephyron <zephyron@citron-emu.org> | 2024-12-31 16:19:25 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2024-12-31 16:19:25 +1000 |
commit | 9427e27e24a7135880ee2881c3c44988e174b41a (patch) | |
tree | 83f0062a35be144f6b162eaa823c5b3c7620146e /.ci/templates | |
parent | b35ae725d20960411e8588b11c12a2d55f86c9d0 (diff) |
chore: update project branding to citron
Diffstat (limited to '.ci/templates')
-rw-r--r-- | .ci/templates/build-mock.yml | 8 | ||||
-rw-r--r-- | .ci/templates/build-msvc.yml | 31 | ||||
-rw-r--r-- | .ci/templates/build-single.yml | 26 | ||||
-rw-r--r-- | .ci/templates/build-standard.yml | 33 | ||||
-rw-r--r-- | .ci/templates/build-testing.yml | 40 | ||||
-rw-r--r-- | .ci/templates/format-check.yml | 17 | ||||
-rw-r--r-- | .ci/templates/merge-private.yml | 44 | ||||
-rw-r--r-- | .ci/templates/merge.yml | 43 | ||||
-rw-r--r-- | .ci/templates/mergebot-private.yml | 33 | ||||
-rw-r--r-- | .ci/templates/mergebot.yml | 18 | ||||
-rw-r--r-- | .ci/templates/release-download.yml | 16 | ||||
-rw-r--r-- | .ci/templates/release-github.yml | 16 | ||||
-rw-r--r-- | .ci/templates/release-private-tag.yml | 12 | ||||
-rw-r--r-- | .ci/templates/release-universal.yml | 13 | ||||
-rw-r--r-- | .ci/templates/retrieve-artifact-source.yml | 19 | ||||
-rw-r--r-- | .ci/templates/retrieve-master-source.yml | 14 | ||||
-rw-r--r-- | .ci/templates/sync-source.yml | 10 |
17 files changed, 0 insertions, 393 deletions
diff --git a/.ci/templates/build-mock.yml b/.ci/templates/build-mock.yml deleted file mode 100644 index 3d3bb6d86..000000000 --- a/.ci/templates/build-mock.yml +++ /dev/null @@ -1,8 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -steps: - - script: mkdir artifacts || echo 'X' > artifacts/T1.txt - - publish: artifacts - artifact: 'yuzu-$(BuildName)-mock' - displayName: 'Upload Artifacts'
\ No newline at end of file diff --git a/.ci/templates/build-msvc.yml b/.ci/templates/build-msvc.yml deleted file mode 100644 index 1e259df05..000000000 --- a/.ci/templates/build-msvc.yml +++ /dev/null @@ -1,31 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -parameters: - artifactSource: 'true' - cache: 'false' - version: '' - -steps: -- task: Powershell@2 - displayName: 'Install Vulkan SDK' - inputs: - targetType: 'filePath' - filePath: './.ci/scripts/windows/install-vulkan-sdk.ps1' -- script: refreshenv && glslangValidator --version && mkdir build && cd build && cmake -E env CXXFLAGS="/Gw" cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_POLICY_DEFAULT_CMP0069=NEW -DYUZU_ENABLE_LTO=ON -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_QT_WEB_ENGINE=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DYUZU_TESTS=OFF -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DDISPLAY_VERSION=${{ parameters['version'] }} -DCMAKE_BUILD_TYPE=Release -DYUZU_CRASH_DUMPS=ON .. && cd .. - displayName: 'Configure CMake' -- task: MSBuild@1 - displayName: 'Build' - inputs: - solution: 'build/yuzu.sln' - maximumCpuCount: true - configuration: release -- task: PowerShell@2 - displayName: 'Package Artifacts' - inputs: - targetType: 'filePath' - filePath: './.ci/scripts/windows/upload.ps1' - arguments: '$(BuildName)' -- publish: artifacts - artifact: 'yuzu-$(BuildName)-windows-msvc' - displayName: 'Upload Artifacts' diff --git a/.ci/templates/build-single.yml b/.ci/templates/build-single.yml deleted file mode 100644 index 3f81f9197..000000000 --- a/.ci/templates/build-single.yml +++ /dev/null @@ -1,26 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -parameters: - artifactSource: 'true' - cache: 'false' - version: '' - -steps: -- task: DockerInstaller@0 - displayName: 'Prepare Environment' - inputs: - dockerVersion: '17.09.0-ce' -- task: CacheBeta@0 - displayName: 'Cache Build System' - inputs: - key: yuzu-v1-$(BuildName)-$(BuildSuffix)-$(CacheSuffix) - path: $(System.DefaultWorkingDirectory)/ccache - cacheHitVar: CACHE_RESTORED -- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/exec.sh && ./.ci/scripts/$(ScriptFolder)/exec.sh ${{ parameters['version'] }} - displayName: 'Build' -- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/upload.sh && RELEASE_NAME=$(BuildName) ./.ci/scripts/$(ScriptFolder)/upload.sh - displayName: 'Package Artifacts' -- publish: artifacts - artifact: 'yuzu-$(BuildName)-$(BuildSuffix)' - displayName: 'Upload Artifacts' diff --git a/.ci/templates/build-standard.yml b/.ci/templates/build-standard.yml deleted file mode 100644 index 314076f1f..000000000 --- a/.ci/templates/build-standard.yml +++ /dev/null @@ -1,33 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -parameters: - version: '' - -jobs: -- job: build - displayName: 'standard' - pool: - vmImage: ubuntu-latest - strategy: - maxParallel: 10 - matrix: - windows: - BuildSuffix: 'windows-mingw' - ScriptFolder: 'windows' - clang: - BuildSuffix: 'clang' - ScriptFolder: 'clang' - linux: - BuildSuffix: 'linux' - ScriptFolder: 'linux' - steps: - - template: ./sync-source.yml - parameters: - artifactSource: $(parameters.artifactSource) - needSubmodules: 'true' - - template: ./build-single.yml - parameters: - artifactSource: 'false' - cache: $(parameters.cache) - version: $(parameters.version) diff --git a/.ci/templates/build-testing.yml b/.ci/templates/build-testing.yml deleted file mode 100644 index c8390b327..000000000 --- a/.ci/templates/build-testing.yml +++ /dev/null @@ -1,40 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -parameters: - version: '' - -jobs: -- job: build_test - displayName: 'testing' - pool: - vmImage: ubuntu-latest - strategy: - maxParallel: 5 - matrix: - windows: - BuildSuffix: 'windows-testing' - ScriptFolder: 'windows' - steps: - - script: sudo apt-get update && sudo apt-get --only-upgrade -y install python3-pip && pip install requests urllib3 - displayName: 'Prepare Environment' - - task: PythonScript@0 - condition: eq(variables['Build.Reason'], 'PullRequest') - displayName: 'Determine Testing Status' - inputs: - scriptSource: 'filePath' - scriptPath: '.ci/scripts/merge/check-label-presence.py' - arguments: '$(System.PullRequest.PullRequestNumber) create-testing-build' - - ${{ if eq(variables.enabletesting, 'true') }}: - - template: ./sync-source.yml - parameters: - artifactSource: $(parameters.artifactSource) - needSubmodules: 'true' - - template: ./mergebot.yml - parameters: - matchLabel: 'testing-merge' - - template: ./build-single.yml - parameters: - artifactSource: 'false' - cache: 'false' - version: $(parameters.version)
\ No newline at end of file diff --git a/.ci/templates/format-check.yml b/.ci/templates/format-check.yml deleted file mode 100644 index 1042e7d13..000000000 --- a/.ci/templates/format-check.yml +++ /dev/null @@ -1,17 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -parameters: - artifactSource: 'true' - -steps: -- template: ./sync-source.yml - parameters: - artifactSource: $(parameters.artifactSource) - needSubmodules: 'false' -- task: DockerInstaller@0 - displayName: 'Prepare Environment' - inputs: - dockerVersion: '17.09.0-ce' -- script: chmod a+x ./.ci/scripts/format/exec.sh && ./.ci/scripts/format/exec.sh - displayName: 'Verify Formatting' diff --git a/.ci/templates/merge-private.yml b/.ci/templates/merge-private.yml deleted file mode 100644 index 8b14065a3..000000000 --- a/.ci/templates/merge-private.yml +++ /dev/null @@ -1,44 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -jobs: -- job: merge - displayName: 'pull requests' - pool: - vmImage: 'ubuntu-latest' - steps: - - checkout: self - submodules: recursive - - template: ./mergebot-private.yml - parameters: - matchLabel: '$(BuildName)-merge' - matchLabelPublic: '$(PublicBuildName)-merge' - - task: ArchiveFiles@2 - displayName: 'Package Source' - inputs: - rootFolderOrFile: '$(System.DefaultWorkingDirectory)' - includeRootFolder: false - archiveType: '7z' - archiveFile: '$(Build.ArtifactStagingDirectory)/yuzu-$(BuildName)-source.7z' - - task: PublishPipelineArtifact@1 - displayName: 'Upload Artifacts' - inputs: - targetPath: '$(Build.ArtifactStagingDirectory)/yuzu-$(BuildName)-source.7z' - artifact: 'yuzu-$(BuildName)-source' - replaceExistingArchive: true -- job: upload_source - displayName: 'upload' - dependsOn: merge - pool: - vmImage: 'ubuntu-latest' - steps: - - template: ./sync-source.yml - parameters: - artifactSource: 'true' - needSubmodules: 'true' - - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh - displayName: 'Apply Git Configuration' - - script: git remote add other $(GitRepoPushChangesURL) - displayName: 'Register Repository' - - script: git push --force other HEAD:$(GitPushBranch) - displayName: 'Update Code' diff --git a/.ci/templates/merge.yml b/.ci/templates/merge.yml deleted file mode 100644 index eec342120..000000000 --- a/.ci/templates/merge.yml +++ /dev/null @@ -1,43 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -jobs: -- job: merge - displayName: 'pull requests' - pool: - vmImage: 'ubuntu-latest' - steps: - - checkout: self - submodules: recursive - - template: ./mergebot.yml - parameters: - matchLabel: '$(BuildName)-merge' - - task: ArchiveFiles@2 - displayName: 'Package Source' - inputs: - rootFolderOrFile: '$(System.DefaultWorkingDirectory)' - includeRootFolder: false - archiveType: '7z' - archiveFile: '$(Build.ArtifactStagingDirectory)/yuzu-$(BuildName)-source.7z' - - task: PublishPipelineArtifact@1 - displayName: 'Upload Artifacts' - inputs: - targetPath: '$(Build.ArtifactStagingDirectory)/yuzu-$(BuildName)-source.7z' - artifact: 'yuzu-$(BuildName)-source' - replaceExistingArchive: true -- job: upload_source - displayName: 'upload' - dependsOn: merge - pool: - vmImage: 'ubuntu-latest' - steps: - - template: ./sync-source.yml - parameters: - artifactSource: 'true' - needSubmodules: 'true' - - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh - displayName: 'Apply Git Configuration' - - script: git remote add other $(GitRepoPushChangesURL) - displayName: 'Register Repository' - - script: git push --force other HEAD:$(GitPushBranch) - displayName: 'Update Code' diff --git a/.ci/templates/mergebot-private.yml b/.ci/templates/mergebot-private.yml deleted file mode 100644 index 1560f9a9c..000000000 --- a/.ci/templates/mergebot-private.yml +++ /dev/null @@ -1,33 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -parameters: - matchLabel: 'dummy-merge' - matchLabelPublic: 'dummy-merge' - -steps: - - script: mkdir $(System.DefaultWorkingDirectory)/patches && pip install requests urllib3 - displayName: 'Prepare Environment' - - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh - displayName: 'Apply Git Configuration' - - task: PythonScript@0 - displayName: 'Discover, Download, and Apply Patches (Mainline)' - inputs: - scriptSource: 'filePath' - scriptPath: '.ci/scripts/merge/apply-patches-by-label.py' - arguments: '${{ parameters.matchLabelPublic }} $(MergeTaglinePublic) patches-public' - workingDirectory: '$(System.DefaultWorkingDirectory)' - - task: PythonScript@0 - displayName: 'Discover, Download, and Apply Patches (Patreon Public)' - inputs: - scriptSource: 'filePath' - scriptPath: '.ci/scripts/merge/apply-patches-by-label.py' - arguments: '${{ parameters.matchLabel }} "$(MergeTaglinePrivate) Public" patches-mixed-public' - workingDirectory: '$(System.DefaultWorkingDirectory)' - - task: PythonScript@0 - displayName: 'Discover, Download, and Apply Patches (Patreon Private)' - inputs: - scriptSource: 'filePath' - scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py' - arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} "$(MergeTaglinePrivate) Private" patches-private' - workingDirectory: '$(System.DefaultWorkingDirectory)' diff --git a/.ci/templates/mergebot.yml b/.ci/templates/mergebot.yml deleted file mode 100644 index 59523161c..000000000 --- a/.ci/templates/mergebot.yml +++ /dev/null @@ -1,18 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -parameters: - matchLabel: 'dummy-merge' - -steps: - - script: mkdir $(System.DefaultWorkingDirectory)/patches && pip install requests urllib3 - displayName: 'Prepare Environment' - - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh - displayName: 'Apply Git Configuration' - - task: PythonScript@0 - displayName: 'Discover, Download, and Apply Patches' - inputs: - scriptSource: 'filePath' - scriptPath: '.ci/scripts/merge/apply-patches-by-label.py' - arguments: '${{ parameters.matchLabel }} Tagged patches' - workingDirectory: '$(System.DefaultWorkingDirectory)' diff --git a/.ci/templates/release-download.yml b/.ci/templates/release-download.yml deleted file mode 100644 index bd32de395..000000000 --- a/.ci/templates/release-download.yml +++ /dev/null @@ -1,16 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -steps: - - task: DownloadPipelineArtifact@2 - displayName: 'Download Windows Release' - inputs: - artifactName: 'yuzu-$(BuildName)-windows-msvc' - buildType: 'current' - targetPath: '$(Build.ArtifactStagingDirectory)' - - task: DownloadPipelineArtifact@2 - displayName: 'Download Linux Release' - inputs: - artifactName: 'yuzu-$(BuildName)-linux' - buildType: 'current' - targetPath: '$(Build.ArtifactStagingDirectory)'
\ No newline at end of file diff --git a/.ci/templates/release-github.yml b/.ci/templates/release-github.yml deleted file mode 100644 index d20296ca0..000000000 --- a/.ci/templates/release-github.yml +++ /dev/null @@ -1,16 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -steps: - - template: ./release-download.yml - - task: GitHubRelease@0 - displayName: 'GitHub Release' - inputs: - action: 'create' - title: '$(ReleasePrefix) $(DisplayVersion)' - assets: '$(Build.ArtifactStagingDirectory)/*' - gitHubConnection: $(GitHubReleaseConnectionName) - repositoryName: '$(Build.Repository.Name)' - target: '$(Build.SourceVersion)' - tagSource: manual - tag: $(BuildName)-$(DisplayPrefix)-$(DisplayVersion)
\ No newline at end of file diff --git a/.ci/templates/release-private-tag.yml b/.ci/templates/release-private-tag.yml deleted file mode 100644 index 70a8543b5..000000000 --- a/.ci/templates/release-private-tag.yml +++ /dev/null @@ -1,12 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -steps: - - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh - displayName: 'Apply Git Configuration' - - script: git tag -a $(BuildName)-$(DisplayPrefix)-$(DisplayVersion) -m "yuzu $(BuildName) $(Build.BuildNumber) $(Build.DefinitionName) $(DisplayPrefix)-$(DisplayVersion)" - displayName: 'Tag Source' - - script: git remote add other $(GitRepoPushChangesURL) - displayName: 'Register Repository' - - script: git push other $(BuildName)-$(DisplayPrefix)-$(DisplayVersion) - displayName: 'Update Code'
\ No newline at end of file diff --git a/.ci/templates/release-universal.yml b/.ci/templates/release-universal.yml deleted file mode 100644 index 151c8f35c..000000000 --- a/.ci/templates/release-universal.yml +++ /dev/null @@ -1,13 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -steps: - - template: ./release-download.yml - - task: UniversalPackages@0 - displayName: Publish Artifacts - inputs: - command: publish - publishDirectory: '$(Build.ArtifactStagingDirectory)' - vstsFeedPublish: 'yuzu-$(BuildName)' - vstsFeedPackagePublish: 'main' - packagePublishDescription: 'Yuzu Windows and Linux Executable Packages'
\ No newline at end of file diff --git a/.ci/templates/retrieve-artifact-source.yml b/.ci/templates/retrieve-artifact-source.yml deleted file mode 100644 index b4cce5890..000000000 --- a/.ci/templates/retrieve-artifact-source.yml +++ /dev/null @@ -1,19 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -steps: -- checkout: none -- task: DownloadPipelineArtifact@2 - displayName: 'Download Source' - inputs: - artifactName: 'yuzu-$(BuildName)-source' - buildType: 'current' - targetPath: '$(Build.ArtifactStagingDirectory)' -- script: rm -rf $(System.DefaultWorkingDirectory) && mkdir $(System.DefaultWorkingDirectory) - displayName: 'Clean Working Directory' -- task: ExtractFiles@1 - displayName: 'Prepare Source' - inputs: - archiveFilePatterns: '$(Build.ArtifactStagingDirectory)/*.7z' - destinationFolder: '$(System.DefaultWorkingDirectory)' - cleanDestinationFolder: false
\ No newline at end of file diff --git a/.ci/templates/retrieve-master-source.yml b/.ci/templates/retrieve-master-source.yml deleted file mode 100644 index e497c0e18..000000000 --- a/.ci/templates/retrieve-master-source.yml +++ /dev/null @@ -1,14 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -parameters: - needSubmodules: 'true' - -steps: -- checkout: self - displayName: 'Checkout Recursive' - submodules: recursive -# condition: eq(parameters.needSubmodules, 'true') -#- checkout: self -# displayName: 'Checkout Fast' -# condition: ne(parameters.needSubmodules, 'true') diff --git a/.ci/templates/sync-source.yml b/.ci/templates/sync-source.yml deleted file mode 100644 index e796b6238..000000000 --- a/.ci/templates/sync-source.yml +++ /dev/null @@ -1,10 +0,0 @@ -# SPDX-FileCopyrightText: 2019 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -steps: -- ${{ if eq(parameters.artifactSource, 'true') }}: - - template: ./retrieve-artifact-source.yml -- ${{ if ne(parameters.artifactSource, 'true') }}: - - template: ./retrieve-master-source.yml - parameters: - needSubmodules: $(parameters.needSubmodules)
\ No newline at end of file |