Commit graph

59 commits

Author SHA1 Message Date
Briar
7c77958d94 ci: Try and make license header runner job work on PRs 2025-04-04 03:23:32 +02:00
Briar
7f24956148 ci: Try and make runner job work on PRs 2025-04-04 03:23:32 +02:00
Briar
88a748a395 ci: Use normal release build type for APK packing 2025-04-04 03:23:32 +02:00
Briar
345a2af636 ci: Add license header check for pull requests
Co-Authored-By: OpenSauce <48618519+opensauce04@users.noreply.github.com>
2025-04-04 03:23:31 +02:00
Briar
3bdda3ea50 ci/cd: Initial implantation
Co-Authored-By: Morph <39850852+morph1984@users.noreply.github.com>
2025-04-04 03:23:31 +02:00
briar
43ef13973c ci/cd: Delete old files 2025-04-04 03:23:31 +02:00
Briar
6c5f0cdc6c Delete FUNDING.yml 2025-04-04 03:23:31 +02:00
Liam
18fd37279b ci: fix mac build 2024-02-23 13:25:48 -05:00
t895
a7e7f1b899 ci: android: Play store publishing setup 2024-02-04 10:54:18 -05:00
Liam
27546fffe7 ci: bump mac to macos-14 2024-01-31 11:17:09 -05:00
t895
1b369e8db2 android: Move ktlintCheck to yuzu-verify 2024-01-13 17:41:01 -05:00
t895
9148670290 actions: android: Prevent resolving tag commit to PR link 2024-01-03 17:01:31 -05:00
t895
8785f56d81 actions: android: Resolve PR commits to link 2024-01-03 17:00:49 -05:00
t895
88b40c0949 actions: android: Move trigger logic to be yuzu-android specific 2024-01-03 03:15:07 -05:00
Liam
73181d568a ci: fix homebrew installation issue in actions runner images 2023-12-13 14:03:51 -05:00
Liam
3daea52881 add mac workflow 2023-11-29 16:02:37 -05:00
Charles Lombardo
57177e4296 ci: android: Declare secrets during build step 2023-11-05 21:09:21 -05:00
Morph
b2686eeea5 verify: Remove dependence on chocolatey 2023-07-07 14:08:18 -04:00
Morph
4257f06257 android-build: Run only on yuzu-android repository 2023-07-07 13:57:09 -04:00
Morph
94509cbf40 github: Checkout source first (MSVC) 2023-07-07 02:04:13 -04:00
Morph
c4cdc8c51c ci: Download and install Vulkan SDK directly from LunarG 2023-07-07 02:04:13 -04:00
liushuyu
fd91abe918 CI: add auto-publishing steps for Android 2023-06-30 14:26:55 -04:00
liushuyu
b74f60af48 CI: add Android build workflow
* Switch OpenJDK runtime to Eclipse Temurin (AdoptOpenJDK has rebranded
to Eclipse Temurin)
* Fetch submodules using full clones instead of shallow clones
2023-06-30 14:24:31 -04:00
Morph
4a8f71e435 github: Remove release workflow 2023-06-06 15:12:12 -04:00
Abandoned Cart
760a615326 android: Fix ci builds with Java 17 2023-06-06 07:06:34 -04:00
bunnei
04eabc45e5 android: Various fixes for CI. 2023-06-03 00:06:05 -07:00
liushuyu
f554e1bbee CI: use the verify pipeline to do releases 2023-06-03 00:06:04 -07:00
liushuyu
bca45d1588 CI: add Android build systems 2023-06-03 00:05:33 -07:00
Baptiste Marie
9c0418e208 issue_template: Add link to website, Getting Log Files 2023-06-02 17:21:46 +02:00
Liam
5be8a74b0c general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
Liam
6f95e7487c general: use codespell to identify spelling mistakes 2023-03-11 22:08:43 -05:00
Morph
e91750a59b github: Add blank issue template
This is meant to only be used by developers.
2022-11-20 00:18:53 -05:00
Morph
75eb3aa85a github: Remove old markdown form
Replaced by the newer issue forms template
2022-11-19 17:41:26 -05:00
Morph
41d0f9b6d0 github: Add new feature request issue form 2022-11-19 17:41:26 -05:00
Morph
c7575f487f github: Add new bug report issue form 2022-11-19 17:41:26 -05:00
Kyle Kienapfel
cd94cf4888 Set TX_TOKEN for transifex client
I did some tests on my own fork, and we're writing to ~/.transifexrc but
the client can't seem to read that file. maybe issue with $HOME or
something.

Workaround is to set TX_TOKEN environment variable and now the pesky
~/.transifexrc file is not needed.
2022-10-16 23:37:25 -07:00
lat9nq
add48360d8 ci,workflows: Enable crash dumps on MSVC builds
ci/windows: Enable crash dumps on MinGW builds
2022-09-04 21:36:34 -04:00
Morph
2c49aad9f7 ci: Enable building with Visual Studio 2022 (again)
Since the following https://developercommunity.visualstudio.com/t/Type-alias-lookup-failure-within-paramet/10039150 compiler bug has been fixed, we can finally build with VS 2022 again.
2022-08-30 14:33:26 -04:00
Kyle K
ca87344be7 tidy up github actions
ci.yml: REUSE task should only run on yuzu-emu/yuzu repository
verify.yml: #8659 is a better fix to the discord-rpc dirty flag
2022-07-30 06:05:01 -07:00
Morph
80087e7d25 Merge pull request #8640 from lat9nq/vcpkg-extra
cmake,ci: vcpkg leftovers
2022-07-30 07:27:52 -04:00
bunnei
09592bf905 Update bug-report-feature-request.md 2022-07-28 16:06:12 -07:00
bunnei
fa762ea2f5 Update config.yml 2022-07-28 16:00:20 -07:00
lat9nq
13a834ec54 cmake,ci: vcpkg for MSVC default, fix lz4 include, catch2, cleanup
vcpkg: Add Catch2 2.13.9

Catch2 >= 3.0 is not compatible with earlier versions, and for now we
must override the desired version in our vcpkg manifest. We can do this
programmatically by using VCPKG_MANIFEST_FEATURES.

CMakeLists: Search for lz4 CONFIG mode first

vcpkg's lz4 CONFIG cmake script works in Release mode but not in Debug
mode, failing to copy the correct DLLs at compile time.

We still need to search for the regular mode for system-installed
versions.

CMakeLists: Clean up boost exports

Remove some Conan-specific workarounds.

CMakeLists: Use vcpkg for MSVC by default

Not enabling it generally since it's much easier to have system
dependencies installed for Linux and MinGW.
2022-07-28 16:01:47 -04:00
Andrea Pappacoda
f5ecc13e53 ci: add reuse job
As mentioned in the previous commit, `reuse lint` can be used to ensure
that copyright information is always present and up to date.

This adds a GitHub Action that does just that, using the official
fsfe/reuse-action
2022-07-27 12:53:49 +02:00
Andrea Pappacoda
6a2efdda2f chore: make yuzu REUSE compliant
[REUSE] is a specification that aims at making file copyright
information consistent, so that it can be both human and machine
readable. It basically requires that all files have a header containing
copyright and licensing information. When this isn't possible, like
when dealing with binary assets, generated files or embedded third-party
dependencies, it is permitted to insert copyright information in the
`.reuse/dep5` file.

Oh, and it also requires that all the licenses used in the project are
present in the `LICENSES` folder, that's why the diff is so huge.
This can be done automatically with `reuse download --all`.

The `reuse` tool also contains a handy subcommand that analyzes the
project and tells whether or not the project is (still) compliant,
`reuse lint`.

Following REUSE has a few advantages over the current approach:

- Copyright information is easy to access for users / downstream
- Files like `dist/license.md` do not need to exist anymore, as
  `.reuse/dep5` is used instead
- `reuse lint` makes it easy to ensure that copyright information of
  files like binary assets / images is always accurate and up to date

To add copyright information of files that didn't have it I looked up
who committed what and when, for each file. As yuzu contributors do not
have to sign a CLA or similar I couldn't assume that copyright ownership
was of the "yuzu Emulator Project", so I used the name and/or email of
the commit author instead.

[REUSE]: https://reuse.software

Follow-up to b2eb103829
2022-07-27 12:53:49 +02:00
Kyle Kienapfel
4997dd4858 package MSVC CI Builds differently, and include yuzu.exe
This is related to 8486

Ninja places the exe files into .\build\bin while MSBuild may place them
into .\build\bin\Release

upload.ps1 was originally written for use with Azure Dev Ops to cough up
about 5 files and the script appears to be used for both CI and
mainline builds

GHA (GitHub Actions) makes available a single zip of the items uploaded by
each Upload action (artifacts directory), so we want to work with that.

I'm doing changes to upload.ps1 to accomplish this.

The changes to the verify.yml are as follows

-DGIT_BRANCH=pr-verify changes the header in yuzu, instead of saying
HEAD-<hash>-dirty it'll say pr-verify-<hash>

-DCLANG_FORMAT_SUFFIX=discordplzdontclang tricks the CMake stuff for
discord-rpc to NOT run clang-format, as this was marking CI builds as
dirty

I'm also making it upload just the exe by itself, as the msvc builds are
quite chunky. but maybe this is unnecessary.

Currently the MSVC artifact option is a 274MB zip that contains 3 copies
of the DLLs, and 4 copies of the source tarball, and zero copies of yuzu.exe

This PR should have msvc artifacts of about 190MB that downloads as 81 MB zip
2022-07-23 08:35:26 -07:00
lat9nq
20d760ea99 ci,CMake: Integrate vcpkg into CMakeLists
Uses manifest mode if the bundled vcpkg is used.
2022-07-22 20:54:00 -04:00
Morph
efdb8481ad ci: Update various actions from v2 to v3 2022-07-05 20:41:49 -04:00
liushuyu
6a5c605d3a CI: upload artifacts for pull request verification 2022-07-04 21:21:56 -06:00
liushuyu
dd009ddf84 CI: fix caching 2022-07-04 21:21:56 -06:00