Translated using Weblate (Turkish) (#153) #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
types: [ "review_requested", "ready_for_review" ] | |
workflow_dispatch: | |
name: Flatpak | |
jobs: | |
gnome-flatpak: | |
name: "GNOME on Flatpak" | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.user.login != 'weblate' }} | |
container: | |
image: bilelmoussaoui/flatpak-github-actions:gnome-45 | |
options: --privileged | |
strategy: | |
matrix: | |
# As of the time of writing (February 2023), GitHub Actions only provides x86_64 runners. While Flatpak does | |
# provide cross-building for other architectures, it uses QEMU to do so, and dotnet does not play well under | |
# QEMU for arm64. See below links for potential updates: | |
# - https://github.com/dotnet/runtime/issues/13648 | |
# - https://github.com/actions/runner-images/issues/5631 | |
arch: [x86_64] | |
fail-fast: false | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- uses: flatpak/flatpak-github-actions/[email protected] | |
with: | |
bundle: org.nickvision.cavalier.flatpak | |
manifest-path: flatpak/org.nickvision.cavalier.json | |
cache-key: flatpak-builder-${{ github.sha }} | |
arch: ${{ matrix.arch }} | |
restore-cache: true |