diff options
Diffstat (limited to '.ci/scripts')
| -rwxr-xr-x | .ci/scripts/clang/docker.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/clang/exec.sh | 3 | ||||
| -rwxr-xr-x | .ci/scripts/clang/upload.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/common/post-upload.sh | 7 | ||||
| -rw-r--r-- | .ci/scripts/common/pre-upload.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/format/docker.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/format/exec.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/format/script.sh | 3 | ||||
| -rwxr-xr-x | .ci/scripts/linux/docker.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/linux/exec.sh | 3 | ||||
| -rwxr-xr-x | .ci/scripts/linux/upload.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/merge/apply-patches-by-label-private.py | 3 | ||||
| -rw-r--r-- | .ci/scripts/merge/apply-patches-by-label.py | 3 | ||||
| -rw-r--r-- | .ci/scripts/merge/check-label-presence.py | 3 | ||||
| -rw-r--r-- | .ci/scripts/merge/yuzubot-git-config.sh | 3 | ||||
| -rwxr-xr-x | .ci/scripts/transifex/docker.sh | 3 | ||||
| -rwxr-xr-x | .ci/scripts/windows/docker.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/windows/exec.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/windows/scan_dll.py | 3 | ||||
| -rw-r--r-- | .ci/scripts/windows/upload.ps1 | 5 | ||||
| -rwxr-xr-x | .ci/scripts/windows/upload.sh | 3 |
21 files changed, 66 insertions, 3 deletions
diff --git a/.ci/scripts/clang/docker.sh b/.ci/scripts/clang/docker.sh index db736f72b..792ef4aa8 100755 --- a/.ci/scripts/clang/docker.sh +++ b/.ci/scripts/clang/docker.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2021 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | # Exit on error, rather than continuing with the rest of the script. | 6 | # Exit on error, rather than continuing with the rest of the script. |
| 4 | set -e | 7 | set -e |
| 5 | 8 | ||
diff --git a/.ci/scripts/clang/exec.sh b/.ci/scripts/clang/exec.sh index a213aac27..664fce5f8 100644 --- a/.ci/scripts/clang/exec.sh +++ b/.ci/scripts/clang/exec.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2021 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | mkdir -p "ccache" || true | 6 | mkdir -p "ccache" || true |
| 4 | chmod a+x ./.ci/scripts/clang/docker.sh | 7 | chmod a+x ./.ci/scripts/clang/docker.sh |
| 5 | # the UID for the container yuzu user is 1027 | 8 | # the UID for the container yuzu user is 1027 |
diff --git a/.ci/scripts/clang/upload.sh b/.ci/scripts/clang/upload.sh index fe4e6b2ac..0b4b3e330 100755 --- a/.ci/scripts/clang/upload.sh +++ b/.ci/scripts/clang/upload.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2021 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | . .ci/scripts/common/pre-upload.sh | 6 | . .ci/scripts/common/pre-upload.sh |
| 4 | 7 | ||
| 5 | REV_NAME="yuzu-linux-${GITDATE}-${GITREV}" | 8 | REV_NAME="yuzu-linux-${GITDATE}-${GITREV}" |
diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.sh index a4e3070fd..7f910b2b3 100644 --- a/.ci/scripts/common/post-upload.sh +++ b/.ci/scripts/common/post-upload.sh | |||
| @@ -1,11 +1,14 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | # Copy documentation | 6 | # Copy documentation |
| 4 | cp license.txt "$DIR_NAME" | 7 | cp LICENSE.txt "$DIR_NAME" |
| 5 | cp README.md "$DIR_NAME" | 8 | cp README.md "$DIR_NAME" |
| 6 | 9 | ||
| 7 | if [[ -z "${NO_SOURCE_PACK}" ]]; then | 10 | if [[ -z "${NO_SOURCE_PACK}" ]]; then |
| 8 | tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt | 11 | tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md LICENSE.txt |
| 9 | cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME" | 12 | cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME" |
| 10 | fi | 13 | fi |
| 11 | 14 | ||
diff --git a/.ci/scripts/common/pre-upload.sh b/.ci/scripts/common/pre-upload.sh index a49e3fff3..705362a3c 100644 --- a/.ci/scripts/common/pre-upload.sh +++ b/.ci/scripts/common/pre-upload.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`" | 6 | GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`" |
| 4 | GITREV="`git show -s --format='%h'`" | 7 | GITREV="`git show -s --format='%h'`" |
| 5 | ARTIFACTS_DIR="artifacts" | 8 | ARTIFACTS_DIR="artifacts" |
diff --git a/.ci/scripts/format/docker.sh b/.ci/scripts/format/docker.sh index 778411e4a..a0f7a61cc 100644 --- a/.ci/scripts/format/docker.sh +++ b/.ci/scripts/format/docker.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | # Run clang-format | 6 | # Run clang-format |
| 4 | cd /yuzu | 7 | cd /yuzu |
| 5 | chmod a+x ./.ci/scripts/format/script.sh | 8 | chmod a+x ./.ci/scripts/format/script.sh |
diff --git a/.ci/scripts/format/exec.sh b/.ci/scripts/format/exec.sh index c50e90d66..40ab41abd 100644 --- a/.ci/scripts/format/exec.sh +++ b/.ci/scripts/format/exec.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | chmod a+x ./.ci/scripts/format/docker.sh | 6 | chmod a+x ./.ci/scripts/format/docker.sh |
| 4 | # the UID for the container yuzu user is 1027 | 7 | # the UID for the container yuzu user is 1027 |
| 5 | sudo chown -R 1027 ./ | 8 | sudo chown -R 1027 ./ |
diff --git a/.ci/scripts/format/script.sh b/.ci/scripts/format/script.sh index c2550c966..119abae6a 100644 --- a/.ci/scripts/format/script.sh +++ b/.ci/scripts/format/script.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \ | 6 | if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \ |
| 4 | dist/*.svg dist/*.xml; then | 7 | dist/*.svg dist/*.xml; then |
| 5 | echo Trailing whitespace found, aborting | 8 | echo Trailing whitespace found, aborting |
diff --git a/.ci/scripts/linux/docker.sh b/.ci/scripts/linux/docker.sh index 436155b3d..dc7446dd1 100755 --- a/.ci/scripts/linux/docker.sh +++ b/.ci/scripts/linux/docker.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | # Exit on error, rather than continuing with the rest of the script. | 6 | # Exit on error, rather than continuing with the rest of the script. |
| 4 | set -e | 7 | set -e |
| 5 | 8 | ||
diff --git a/.ci/scripts/linux/exec.sh b/.ci/scripts/linux/exec.sh index 78e8aeabf..fa3d78cc2 100644 --- a/.ci/scripts/linux/exec.sh +++ b/.ci/scripts/linux/exec.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | mkdir -p "ccache" || true | 6 | mkdir -p "ccache" || true |
| 4 | chmod a+x ./.ci/scripts/linux/docker.sh | 7 | chmod a+x ./.ci/scripts/linux/docker.sh |
| 5 | # the UID for the container yuzu user is 1027 | 8 | # the UID for the container yuzu user is 1027 |
diff --git a/.ci/scripts/linux/upload.sh b/.ci/scripts/linux/upload.sh index 3f2c2f208..8173c5728 100755 --- a/.ci/scripts/linux/upload.sh +++ b/.ci/scripts/linux/upload.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | . .ci/scripts/common/pre-upload.sh | 6 | . .ci/scripts/common/pre-upload.sh |
| 4 | 7 | ||
| 5 | APPIMAGE_NAME="yuzu-${GITDATE}-${GITREV}.AppImage" | 8 | APPIMAGE_NAME="yuzu-${GITDATE}-${GITREV}.AppImage" |
diff --git a/.ci/scripts/merge/apply-patches-by-label-private.py b/.ci/scripts/merge/apply-patches-by-label-private.py index 16b45043e..c640c4c4d 100644 --- a/.ci/scripts/merge/apply-patches-by-label-private.py +++ b/.ci/scripts/merge/apply-patches-by-label-private.py | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 2 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 1 | # Download all pull requests as patches that match a specific label | 4 | # Download all pull requests as patches that match a specific label |
| 2 | # Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to> | 5 | # Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to> |
| 3 | 6 | ||
diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py index c288a70a1..8ddc8ff34 100644 --- a/.ci/scripts/merge/apply-patches-by-label.py +++ b/.ci/scripts/merge/apply-patches-by-label.py | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 2 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 1 | # Download all pull requests as patches that match a specific label | 4 | # Download all pull requests as patches that match a specific label |
| 2 | # Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to> | 5 | # Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to> |
| 3 | 6 | ||
diff --git a/.ci/scripts/merge/check-label-presence.py b/.ci/scripts/merge/check-label-presence.py index 048466d7e..51cf68129 100644 --- a/.ci/scripts/merge/check-label-presence.py +++ b/.ci/scripts/merge/check-label-presence.py | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 2 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 1 | # Checks to see if the specified pull request # has the specified tag | 4 | # Checks to see if the specified pull request # has the specified tag |
| 2 | # Usage: python check-label-presence.py <Pull Request ID> <Name of Label> | 5 | # Usage: python check-label-presence.py <Pull Request ID> <Name of Label> |
| 3 | 6 | ||
diff --git a/.ci/scripts/merge/yuzubot-git-config.sh b/.ci/scripts/merge/yuzubot-git-config.sh index d9d595bbc..d7f1f29db 100644 --- a/.ci/scripts/merge/yuzubot-git-config.sh +++ b/.ci/scripts/merge/yuzubot-git-config.sh | |||
| @@ -1,2 +1,5 @@ | |||
| 1 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 2 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 1 | git config --global user.email "yuzu@yuzu-emu.org" | 4 | git config --global user.email "yuzu@yuzu-emu.org" |
| 2 | git config --global user.name "yuzubot" \ No newline at end of file | 5 | git config --global user.name "yuzubot" \ No newline at end of file |
diff --git a/.ci/scripts/transifex/docker.sh b/.ci/scripts/transifex/docker.sh index 05e1a98f5..6237b3f73 100755 --- a/.ci/scripts/transifex/docker.sh +++ b/.ci/scripts/transifex/docker.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -e | 1 | #!/bin/bash -e |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2021 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | # Setup RC file for tx | 6 | # Setup RC file for tx |
| 4 | cat << EOF > ~/.transifexrc | 7 | cat << EOF > ~/.transifexrc |
| 5 | [https://www.transifex.com] | 8 | [https://www.transifex.com] |
diff --git a/.ci/scripts/windows/docker.sh b/.ci/scripts/windows/docker.sh index 9f34530d6..790ba8218 100755 --- a/.ci/scripts/windows/docker.sh +++ b/.ci/scripts/windows/docker.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | set -e | 6 | set -e |
| 4 | 7 | ||
| 5 | #cd /yuzu | 8 | #cd /yuzu |
diff --git a/.ci/scripts/windows/exec.sh b/.ci/scripts/windows/exec.sh index bf5c5fb63..ca74eeba5 100644 --- a/.ci/scripts/windows/exec.sh +++ b/.ci/scripts/windows/exec.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | mkdir -p "ccache" || true | 6 | mkdir -p "ccache" || true |
| 4 | chmod a+x ./.ci/scripts/windows/docker.sh | 7 | chmod a+x ./.ci/scripts/windows/docker.sh |
| 5 | # the UID for the container yuzu user is 1027 | 8 | # the UID for the container yuzu user is 1027 |
diff --git a/.ci/scripts/windows/scan_dll.py b/.ci/scripts/windows/scan_dll.py index 163183f2e..f374e0d78 100644 --- a/.ci/scripts/windows/scan_dll.py +++ b/.ci/scripts/windows/scan_dll.py | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 2 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 1 | import pefile | 4 | import pefile |
| 2 | import sys | 5 | import sys |
| 3 | import re | 6 | import re |
diff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1 index ac2a38f1d..3da242bc7 100644 --- a/.ci/scripts/windows/upload.ps1 +++ b/.ci/scripts/windows/upload.ps1 | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 2 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 1 | param($BUILD_NAME) | 4 | param($BUILD_NAME) |
| 2 | 5 | ||
| 3 | $GITDATE = $(git show -s --date=short --format='%ad') -replace "-", "" | 6 | $GITDATE = $(git show -s --date=short --format='%ad') -replace "-", "" |
| @@ -40,7 +43,7 @@ mkdir $MSVC_SOURCE | |||
| 40 | mkdir "artifacts" | 43 | mkdir "artifacts" |
| 41 | 44 | ||
| 42 | # Build a tar.xz for the source of the release | 45 | # Build a tar.xz for the source of the release |
| 43 | Copy-Item .\license.txt -Destination $MSVC_SOURCE | 46 | Copy-Item .\LICENSE.txt -Destination $MSVC_SOURCE |
| 44 | Copy-Item .\README.md -Destination $MSVC_SOURCE | 47 | Copy-Item .\README.md -Destination $MSVC_SOURCE |
| 45 | Copy-Item .\CMakeLists.txt -Destination $MSVC_SOURCE | 48 | Copy-Item .\CMakeLists.txt -Destination $MSVC_SOURCE |
| 46 | Copy-Item .\src -Recurse -Destination $MSVC_SOURCE | 49 | Copy-Item .\src -Recurse -Destination $MSVC_SOURCE |
diff --git a/.ci/scripts/windows/upload.sh b/.ci/scripts/windows/upload.sh index 3c6a74218..4aa5be544 100755 --- a/.ci/scripts/windows/upload.sh +++ b/.ci/scripts/windows/upload.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | . .ci/scripts/common/pre-upload.sh | 6 | . .ci/scripts/common/pre-upload.sh |
| 4 | 7 | ||
| 5 | REV_NAME="yuzu-windows-mingw-${GITDATE}-${GITREV}" | 8 | REV_NAME="yuzu-windows-mingw-${GITDATE}-${GITREV}" |