aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2024-04-26ci: Replace macos-latest label with macos-13 (#6729)TSRBerry
Due to a change to the GitHub runner labels a few days ago (see: actions/runner#3256) our build workflows for macOS x64 didn't work anymore. According to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories the macos-13 label is not using arm64 yet. Until a better solution is offered in the linked issue above, we'll keep using the macos-13 label which hopefully doesn't switch to arm64 soon.
2024-03-13infra: Fix updater for old Ava users (#6441)TSRBerry
* Add binaries with both names to release archives * Add migration code for the new filename * Add Ryujinx.Ava to all win/linux releases for a while
2024-03-02ci: try to fix toctou on release creationMary Guillemard
Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-03-02infra: Make Avalonia the default UI (#6375)Mary Guillemard
* misc: Move Ryujinx project to Ryujinx.Gtk3 This breaks release CI for now but that's fine. Signed-off-by: Mary Guillemard <mary@mary.zone> * misc: Move Ryujinx.Ava project to Ryujinx This breaks CI for now, but it's fine. Signed-off-by: Mary Guillemard <mary@mary.zone> * infra: Make Avalonia the default UI Should fix CI after the previous changes. GTK3 isn't build by the release job anymore, only by PR CI. This also ensure that the test-ava update package is still generated to allow update from the old testing channel. Signed-off-by: Mary Guillemard <mary@mary.zone> * Fix missing copy in create_app_bundle.sh Signed-off-by: Mary Guillemard <mary@mary.zone> * Fix syntax error Signed-off-by: Mary Guillemard <mary@mary.zone> --------- Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-02-11infra: Force add linux-x64 apphost in flathub nuget source (#6302)Mary Guillemard
Required when building on the arm64 runner. Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-02-11infra: Restore Nuget packages for linux-arm64 for FlatpakMary Guillemard
Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-02-10ci: Enable Linux ARM64 on build and release (#6291)Mary Guillemard
* ci: Enable Linux ARM64 on build and release Signed-off-by: Mary <mary@mary.zone> * Address gdkchan comment Signed-off-by: Mary <mary@mary.zone> --------- Signed-off-by: Mary <mary@mary.zone>
2024-01-29Remove events that trigger from a forked repository (#6213)TSRBerry
[skip ci]
2024-01-29Make config filename changable for releases & Log to Ryujinx directory if ↵TSRBerry
application directory is not writable (#4707) * Remove GetBaseApplicationDirectory() & Move logs directory to user base path We should assume the application directory might be write-protected. * Use Ryujinx.sh in Ryujinx.desktop This desktop file isn't really used right now, so this changes effectively nothing. * Use properties in ReleaseInformation.cs and add ConfigName property * Configure config filename in Github workflows * Add a separate config step for macOS Because they use BSD sed instead of GNU sed * Keep log directory at the old location for dev environments * Add FileSystemUtils since Directory.Move() doesn't work across filesystems Steal CopyDirectory code from https://learn.microsoft.com/en-us/dotnet/standard/io/how-to-copy-directories * Fix "Open Logs folder" button pointing to the wrong directory * Add execute permissions to Ryujinx.sh * Fix missing newlines * AppDataManager: Use FileSystemUtils.MoveDirectory() * Make dotnet format happy * Add a fallback for the logging directory
2024-01-27infra: Reformat README.md & add new generic Mako workflow (#5791)TSRBerry
* Adjust workflow paths to exclude all markdown files * editorconfig: Add default charset and adjust indention for a few file types * Reformat README.md and add a link to our documentation * Add generic Mako workflow and remove old Mako steps * editorconfig: Move charset change to a different PR * Update compatibility stats Co-authored-by: Ac_K <Acoustik666@gmail.com> --------- Co-authored-by: Ac_K <Acoustik666@gmail.com>
2023-12-25ci: bump actions/upload-artifact from 3 to 4 (#6050)dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11Revert "ci: bump actions/github-script from 6 to 7 (#5966)"Mary Guillemard
This reverts commit 0531c16326c8215bff1c0a98f3ed217f01065446.
2023-12-04ci: bump actions/github-script from 6 to 7 (#5966)dependabot[bot]
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04ci: bump actions/labeler from 4 to 5 (#6007)dependabot[bot]
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04ci: bump actions/setup-dotnet from 3 to 4 (#6006)dependabot[bot]
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3 to 4. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](https://github.com/actions/setup-dotnet/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15infra: Workaround Microsoft.NET.ILLink.Tasks restore failure on FlathubMary Guillemard
This package seems to be required for triming now but isn't restored by default. This changes the flatpak pusher to publish so we are sure that the package is in the cache. Signed-off-by: Mary Guillemard <mary@mary.zone>
2023-11-15Migrate to .NET 8 (#5887)Zoltan Csizmadia
* Change TargetFramework to net8.0 * Disable info messages * Fix warings * Disable additional analyzer messages * Fix typo * Add whitespace * Fix ref vs in warnings * Use explicit [In] on array parameters * No need to guard Remove with Contains * Use 'ArgumentOutOfRangeException.ThrowIf...' instead of explicitly throwing a new exception instance * Bump .NET SDK version * Enable JsonSerializerIsReflectionEnabledByDefault * Use 8.0.100 GA release * Bump System package versions --------- Co-authored-by: Zoltan Csizmadia <Zoltan.Csizmadia@vericast.com>
2023-11-11infra: switch back to ubuntu 20.04 LTS for macOS releaseMary Guillemard
2023-11-11infra: Update to LLVM 15 for macOS releaseMary Guillemard
2023-09-05Add macOS Headless release workflow (#5272)siegmund-heiss-ich
* Add macOS Headless release workflow * Add MACH-O check before applying signature * Rename script for consistency * Remove redundant compiler flag * Fix release.yml arguments + names * Update headless.sh to include changes of pr #5398
2023-09-05Use poetry run instead of spawning a shell (#5653)TSRBerry
2023-09-04ci: bump actions/checkout from 3 to 4 (#5650)dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04Fix overwriting .ryujinx-mako directory (#5651)TSRBerry
2023-09-04Update reviewers using Ryujinx-Mako command (#5635)TSRBerry
* Update reviewers using Ryujinx-Mako command * Fix worklflow step 'uses' path
2023-08-16Introduce Mako to fix pr_triage workflow (#5574)TSRBerry
* pr_triage: Fix invalid workflow * Don't assign reviewers to draft PRs * Add team review request for developers team * Introduce Mako to make team reviewers work
2023-08-16Add improved csc problem matcher (#5530)TSRBerry
2023-08-06Fix PR build concurrency and stop auto assigning reviewers for draft PRs (#5519)TSRBerry
* build: Remove concurrency It's called by checks anyway. * Only assign reviewers for PRs that are ready for reviews
2023-08-01Add slightly better workaround for current workflow issues (#5507)TSRBerry
* checks: Add retry logic to dotnet format style step as well I can't imagine dotnet format whitespace ever segfaulting, so hopefully it won't be needed there. * checks: Replace bash scripts with unstable-commands action * build: Add unstable-commands action for test step
2023-07-24Add workflow to automatically check code style issues for PRs (#4670)TSRBerry
* Add workflow to perform automated checks for PRs * Downgrade Microsoft.CodeAnalysis to 4.4.0 This is a workaround to fix issues with dotnet-format. See: - https://github.com/dotnet/format/issues/1805 - https://github.com/dotnet/format/issues/1800 * Adjust editorconfig to be more compatible with Ryujinx code-style * Adjust .editorconfig line endings to match .gitattributes * Disable 'prefer switch expression' rule * Remove naming styles These are the default rules, so we don't need to override them. * Silence IDE0060 in .editorconfig * Slightly adjust .editorconfig * Add lost workflow changes * Move .editorconfig comment to the top * .editorconfig: private static readonly fields should be _lowerCamelCase * .editorconfig: Remove alignment for declarations as well * editorconfig: Add rule for local constants * Disable CA1822 for HLE services * Disable CA1822 for ViewModels Bindings won't work with static members, but this issue is silently ignored. * Run dotnet format for the whole solution * Check result code of SDL_GetDisplayBounds * Fix dotnet format style issues * Add missing trailing commas * Update Microsoft.CodeAnalysis.CSharp to 4.6.0 Skipping 4.5.0 since it breaks dotnet format * Restore old default naming rules for dotnet format * Add naming rule exception for CPU tests * checks: Include all files before excluding paths * Fix dotnet format issues * Check dotnet format version * checks: Run dotnet format with severity info again * checks: Disable naming style rules until they won't crash the process anymore * Remove unread private member * checks: Attempt to run analyzers 3 times before giving up * checks: Enable naming style rules again with the new retry logic
2023-07-12infra: Fix PR triage once and for all (#5442)Mary
Switch to a custom made python script that query GitHub API to grab latest state of the PR after label assign.
2023-06-13infra: Sync paths-ignore with release job and attempt to fix review assignMary
2023-06-12Fix action version (#5299)TSRBerry
2023-06-12infra: Fix PR triage workflow glob patterns (#5297)TSRBerry
* Use glob patterns to match file paths * Update ignored paths for releases * Adjust build.yml as well * Add names to auto-assign steps * Fix developer team name * Allow build workflows to run if workflows changed
2023-06-12infra: Add PR triage action (#5293)Mary
This is a bare minimal triage action that handle big categories. In the future we could also label all services correctly but I didn't felt this was required for a first iteration.
2023-06-01Only run one workflow for a PR at a time (#5137)TSRBerry
2023-05-28actions: revert timeout-minutes changes for PR workflowMary
Varibales aren't exposed to PRs...
2023-05-28actions: Workaround YAML limitation for timeout-minutesMary
Because Github Actions wants an int, we use fromJSON to hack around this.
2023-05-28Use variables to configure job timeouts (#5123)TSRBerry
2023-05-25Update release.yml (#5058)Isaac Marovitz
2023-05-13Add timeout of 35 minutes to workflow jobs (#4928)TSRBerry
2023-05-13macOS CI Adjustments (#4910)Isaac Marovitz
* Fix macOS build name in CI Fixes updater * Update build.yml Don't publish x86 Mac builds * Naming nitpick * Berry changes * Use the same prefix for PR and release build archives --------- Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
2023-05-11Attempt to fix release.yml after mergeMary
2023-05-11Update release workflow & Add jobs for macOS (#4837)TSRBerry
* Add build config and extra args to create_macos_build.sh * Use matrix strategy for releases * Add macOS jobs Co-authored-by: Mary <thog@protonmail.com> * Fix wrong version argument * Fix check for the correct amount of args * Install latest rcodesign release Co-authored-by: Mary <thog@protonmail.com> * Set executable bits for PR builds on linux --------- Co-authored-by: Mary <thog@protonmail.com>
2023-04-27Adjust github workflows for new src directoryTSR Berry
2023-03-22CI: add a version tag to correlate release versions with commits (#4572)Andrew Glaze
* add step to tag commit with release version * add step to tag commit with release version * Rename step to “Create Tag” * Fix name
2023-03-12[Flatpak] Beautify multiline strings again & Add full git commit hash (#4535)TSRBerry
* Don't destroy multiline strings * Use full git commit hash
2023-03-11gha(release): Attempt to fix flathub pusherMary
2023-03-11gha(release): Hopefully fixes itMary
2023-03-11gha(release): Makes environment variables globalMary
2023-03-11Attempt to fix syntax error of previous mergeMary