From f9b0ce66fac43e7cde86da548ca26d8fa639d3cf Mon Sep 17 00:00:00 2001 From: illusion <37698908+illusion0001@users.noreply.github.com> Date: Tue, 24 Mar 2020 00:52:34 +1100 Subject: [PATCH] Die CI Die! prevent users from using this branch --- .appveyor.yml | 50 ------------------- .azure-pipelines.yml | 74 ---------------------------- .github/workflows/CI.yml | 104 --------------------------------------- .travis.yml | 71 -------------------------- 4 files changed, 299 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .azure-pipelines.yml delete mode 100644 .github/workflows/CI.yml delete mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index bc15c553c..000000000 --- a/.appveyor.yml +++ /dev/null @@ -1,50 +0,0 @@ -version: 1.0.{build}-{branch} - -branches: - except: - - gh-pages - - master - -skip_tags: true - -skip_commits: - files: - - docs/* - - docs/*/* - - .github/* - - .github/*/* - - src/**/*_posix.* - - src/**/*_linux.* - - src/**/*_x11.* - - src/**/*_gtk.* - - LICENSE - - README.md - - .azure-pipelines.yml - - .travis.yml - -skip_branch_with_pr: true - -pull_requests: - do_not_increment_build_number: true - -image: Visual Studio 2019 - -install: - - xb setup - -build_script: - - xb build --target=src\xenia-app --target=src\xenia-vfs-dump - -after_build: - - |- - 7z a -mx1 xenia-%appveyor_repo_branch%.zip LICENSE .\build\bin\Windows\Release\xenia-canary.exe - 7z a -mx1 xenia-vfs-dump-%appveyor_repo_branch%.zip LICENSE .\build\bin\Windows\Release\xenia-vfs-dump.exe - -test: off - -artifacts: - - path: xenia-$(appveyor_repo_branch).zip - - path: xenia-vfs-dump-$(appveyor_repo_branch).zip - - path: SDL2.zip - -deploy: off diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml deleted file mode 100644 index 512323e36..000000000 --- a/.azure-pipelines.yml +++ /dev/null @@ -1,74 +0,0 @@ -trigger: - branches: - include: - - '*' - exclude: - - gh-pages - - master - paths: - exclude: - - docs/* - - docs/*/* - - .github/* - - .github/*/* - - LICENSE - - README.md - - .appveyor.yml - - .travis.yml -pr: - branches: - include: - - '*' - exclude: - - gh-pages - - master - paths: - exclude: - - docs/* - - docs/*/* - - .github/* - - .github/*/* - - LICENSE - - README.md - - .appveyor.yml - - .travis.yml - -jobs: -- job: - pool: - vmImage: windows-latest - strategy: - matrix: - AVX: - cpu_arch: AVX - AVX2: - cpu_arch: AVX2 - AVX512: - cpu_arch: AVX512 - steps: - - script: xb setup - displayName: 'Setup' - - - script: xb build --cpu_arch=$(cpu_arch) --target=src\xenia-app --target=src\xenia-vfs-dump - displayName: 'Build' - - - pwsh: |- - robocopy . build\bin\Windows\Release LICENSE /r:0 /w:0 - robocopy build\bin\Windows\Release $(Build.ArtifactStagingDirectory)\xenia-canary xenia-canary.exe LICENSE /r:0 /w:0 - robocopy build\bin\Windows\Release $(Build.ArtifactStagingDirectory)\xenia-vfs-dump xenia-vfs-dump.exe LICENSE /r:0 /w:0 - If ($LastExitCode -le 7) { $LastExitCode = 0 } - displayName: 'Prepare artifacts' - - - publish: $(Build.ArtifactStagingDirectory)\xenia-canary - artifact: xenia-canary-$(cpu_arch) - displayName: 'Publish xenia-canary artifacts' - - - publish: $(Build.ArtifactStagingDirectory)\xenia-vfs-dump - condition: and(succeeded(), eq(variables['Agent.JobName'], 'AVX')) - artifact: xenia-vfs-dump - displayName: 'Publish xenia-vfs-dump artifacts' - - - publish: build\bin\Windows\Release\SDL2.dll - condition: and(succeeded(), eq(variables['Agent.JobName'], 'AVX')) - artifact: SDL2 - displayName: 'Publish SDL2 artifact(s)' diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml deleted file mode 100644 index f35fa1e42..000000000 --- a/.github/workflows/CI.yml +++ /dev/null @@ -1,104 +0,0 @@ -name: CI - -on: - push: - branches-ignore: - - 'gh-pages' - - 'master' - paths-ignore: - - '.github/CONTRIBUTING.md' - - '.github/FUNDING.md' - - '.github/ISSUE_TEMPLATE/*' - - 'docs/*' - - 'docs/*/*' - - '.appveyor.yml' - - '.azure-pipelines.yml' - - '.travis.yml' - - 'LICENSE' - - 'README.md' - pull_request: - branches-ignore: - - 'gh-pages' - - 'master' - paths-ignore: - - '.github/CONTRIBUTING.md' - - '.github/FUNDING.md' - - '.github/ISSUE_TEMPLATE/*' - - 'docs/*' - - 'docs/*/*' - - '.appveyor.yml' - - '.azure-pipelines.yml' - - '.travis.yml' - - 'LICENSE' - - 'README.md' -jobs: - build: - runs-on: windows-latest - strategy: - fail-fast: false - matrix: - cpu_arch: [AVX, AVX2, AVX512] - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Setup - run: .\xb setup - - - name: Build - run: .\xb build --cpu_arch=${{ matrix.cpu_arch }} --target=src\xenia-app --target=src\xenia-vfs-dump - - - name: Prepare artifacts - run: | - robocopy . build\bin\Windows\Release LICENSE /r:0 /w:0 - robocopy build\bin\Windows\Release artifacts\xenia-canary xenia-canary.exe LICENSE /r:0 /w:0 - robocopy build\bin\Windows\Release artifacts\xenia-vfs-dump xenia-vfs-dump.exe LICENSE /r:0 /w:0 - If ($LastExitCode -le 7) { $LastExitCode = 0 } - 7z a -mx1 xenia-canary.zip LICENSE .\artifacts\xenia-canary\*.exe - - - name: Upload xenia-canary artifacts - uses: actions/upload-artifact@v1 - with: - name: xenia-canary-${{ matrix.cpu_arch }} - path: artifacts\xenia-canary - - - name: Upload xenia-vfs-dump artifacts - uses: actions/upload-artifact@v1 - if: matrix.cpu_arch == 'AVX' - with: - name: xenia-vfs-dump - path: artifacts\xenia-vfs-dump - - - name: Upload SDL2 artifact(s) - uses: actions/upload-artifact@v1 - if: matrix.cpu_arch == 'AVX' - with: - name: SDL2 - path: build\bin\Windows\Release\SDL2.dll - - - name: Create Release - if: github.event.action != 'pull_request' && github.ref == 'refs/heads/canary' && matrix.cpu_arch == 'AVX' - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: tag-${{ github.sha }} - release_name: xenia-canary-${{ github.sha }} - body: | - Changes in this Release - - First Change - - Second Change - - - name: Upload Release Asset - if: github.event.action != 'pull_request' && github.ref == 'refs/heads/canary' && matrix.cpu_arch == 'AVX' - id: upload-release-asset - uses: actions/upload-release-asset@v1.0.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: xenia-canary.zip - asset_name: xenia-canary.zip - asset_content_type: application/zip diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7536f47a3..000000000 --- a/.travis.yml +++ /dev/null @@ -1,71 +0,0 @@ -# Make Travis use docker (for faster builds, in theory). - -language: cpp -os: - - linux - -dist: bionic -addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-9 - packages: - - clang-9 - - clang-format-9 - - llvm-9-dev - - g++-8 - - python3 - - libc++-dev - - libc++abi-dev - - libgtk-3-dev - - libpthread-stubs0-dev - - libsdl2-dev - #- libvulkan1 - #- libvulkan-dev - - libx11-dev - - liblz4-dev - -jobs: - include: - - env: C_COMPILER=clang-9 CXX_COMPILER=clang++-9 LINT=true - - env: C_COMPILER=clang-9 CXX_COMPILER=clang++-9 BUILD=true CONFIG=Debug - - env: C_COMPILER=clang-9 CXX_COMPILER=clang++-9 BUILD=true CONFIG=Release - -git: - # We handle submodules ourselves in xenia-build setup. - submodules: false - -before_script: - - export LIBVULKAN_VERSION=1.1.70 - - export CXX=$CXX_COMPILER - - export CC=$C_COMPILER - # Dump useful info. - - $CXX --version - - python3 --version - - clang-format-9 --version - - clang-format-9 -style=file -dump-config - # Add Vulkan dependencies. - - travis_retry wget http://mirrors.kernel.org/ubuntu/pool/universe/v/vulkan/libvulkan1_$LIBVULKAN_VERSION+dfsg1-1_amd64.deb - - travis_retry wget http://mirrors.kernel.org/ubuntu/pool/universe/v/vulkan/libvulkan-dev_$LIBVULKAN_VERSION+dfsg1-1_amd64.deb - - if [[ $BUILD == true ]]; then sudo dpkg -i libvulkan1_$LIBVULKAN_VERSION+dfsg1-1_amd64.deb libvulkan-dev_$LIBVULKAN_VERSION+dfsg1-1_amd64.deb; fi - # Prepare environment (pull dependencies, build tools). - - travis_retry ./xenia-build setup - -script: - # Run linter. - - if [[ $LINT == true ]]; then ./xenia-build lint --all; fi - - # Build and run base tests. - - if [[ $BUILD == true ]]; then ./xenia-build build --config=$CONFIG --target=xenia-base-tests; fi - - if [[ $BUILD == true ]]; then ./build/bin/Linux/$CONFIG/xenia-base-tests; fi - # Build and run ppc tests. - - if [[ $BUILD == true ]]; then ./xenia-build build --config=$CONFIG --target=xenia-cpu-ppc-tests; fi - # - if [[ $BUILD == true ]]; then ./build/bin/Linux/$CONFIG/xenia-cpu-ppc-tests --log_file=stdout; fi - - # Build all of xenia. - - if [[ $BUILD == true ]]; then ./xenia-build build --config=$CONFIG; fi - # All tests (without haswell support). - #- ./xenia-build test --config=debug --no-build -- --enable_haswell_instructions=false - # All tests (with haswell support). - #- ./xenia-build test --config=debug --no-build -- --enable_haswell_instructions=true