summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/FUNDING.yml3
-rw-r--r--.github/ISSUE_TEMPLATE/bug-report-feature-request.md5
-rw-r--r--.github/ISSUE_TEMPLATE/config.yml3
-rw-r--r--.github/workflows/ci.yml11
-rw-r--r--.github/workflows/verify.yml23
5 files changed, 37 insertions, 8 deletions
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 11bd525ad..ef03a1fc5 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
+
# These are supported funding model platforms
patreon: yuzuteam
diff --git a/.github/ISSUE_TEMPLATE/bug-report-feature-request.md b/.github/ISSUE_TEMPLATE/bug-report-feature-request.md
index 5706243bb..93370eaca 100644
--- a/.github/ISSUE_TEMPLATE/bug-report-feature-request.md
+++ b/.github/ISSUE_TEMPLATE/bug-report-feature-request.md
@@ -1,3 +1,8 @@
+<!--
+SPDX-FileCopyrightText: 2016 MerryMage
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
+
---
name: Bug Report / Feature Request
about: Tech support does not belong here. You should only file an issue here if you think you have experienced an actual bug with yuzu or you are requesting a feature you believe would make yuzu better.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 52faafad3..8eed3b7c2 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2020 tgsm <doodrabbit@hotmail.com>
+# SPDX-License-Identifier: GPL-2.0-or-later
+
blank_issues_enabled: false
contact_links:
- name: yuzu Discord
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d3400670a..04f4bb9f5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
+
name: yuzu-ci
on:
@@ -13,7 +16,7 @@ jobs:
container: yuzuemu/build-environments:linux-transifex
if: ${{ github.repository == 'yuzu-emu/yuzu' && !github.head_ref }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
@@ -21,3 +24,9 @@ jobs:
run: ./.ci/scripts/transifex/docker.sh
env:
TRANSIFEX_API_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }}
+
+ reuse:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: fsfe/reuse-action@v1
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index 7e39ef847..18cefe325 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -1,8 +1,13 @@
+# SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-3.0-or-later
+
name: 'yuzu verify'
on:
pull_request:
branches: [ master ]
+env:
+ PR_NUMBER: pr${{ github.event.number }}
jobs:
format:
@@ -12,7 +17,7 @@ jobs:
image: yuzuemu/build-environments:linux-clang-format
options: -u 1001
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
submodules: false
- name: 'Verify Formatting'
@@ -35,12 +40,12 @@ jobs:
image: yuzuemu/build-environments:${{ matrix.image }}
options: -u 1001
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Set up cache
- uses: actions/cache@v2
+ uses: actions/cache@v3
id: ccache-restore
with:
path: ~/.ccache
@@ -69,7 +74,7 @@ jobs:
runs-on: windows-2019
steps:
- name: Set up cache
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: ~/.buildcache
key: ${{ runner.os }}-msvc-${{ github.sha }}
@@ -80,7 +85,6 @@ jobs:
shell: cmd
run: |
choco install vulkan-sdk wget
- python -m pip install --upgrade pip conan
call refreshenv
wget https://github.com/mbitsnbites/buildcache/releases/download/v0.27.6/buildcache-windows.zip
7z x buildcache-windows.zip
@@ -89,7 +93,7 @@ jobs:
echo %PATH% >> %GITHUB_PATH%
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
@@ -100,7 +104,7 @@ jobs:
run: |
glslangValidator --version
mkdir build
- cmake . -B build -GNinja -DCMAKE_TOOLCHAIN_FILE="CMakeModules/MSVCCache.cmake" -DUSE_CCACHE=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=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release
+ cmake . -B build -GNinja -DCMAKE_TOOLCHAIN_FILE="CMakeModules/MSVCCache.cmake" -DUSE_CCACHE=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=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DGIT_BRANCH=pr-verify -DCLANG_FORMAT_SUFFIX=discordplzdontclang -DYUZU_TESTS=OFF -DYUZU_USE_BUNDLED_VCPKG=ON
- name: Build
run: cmake --build build
- name: Cache Summary
@@ -113,3 +117,8 @@ jobs:
with:
name: msvc
path: artifacts/
+ - name: Upload EXE
+ uses: actions/upload-artifact@v3
+ with:
+ name: ${{ env.INDIVIDUAL_EXE }}
+ path: ${{ env.INDIVIDUAL_EXE }}