ci: Run clang-format and transifex in linux-fresh image. (#6649)
* ci: Run clang-format and transifex in linux-fresh image. * build: Only add bundle targets for enabled outputs.
This commit is contained in:
parent
0d516f6da5
commit
d26dcc8e31
2 changed files with 11 additions and 5 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
clang-format:
|
clang-format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: citraemu/build-environments:linux-clang-format
|
image: citraemu/build-environments:linux-fresh
|
||||||
options: -u 1001
|
options: -u 1001
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -239,7 +239,7 @@ jobs:
|
||||||
path: src/android/app/artifacts/
|
path: src/android/app/artifacts/
|
||||||
transifex:
|
transifex:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: citraemu/build-environments:linux-transifex
|
container: citraemu/build-environments:linux-fresh
|
||||||
if: ${{ github.repository == 'citra-emu/citra' && !github.head_ref }}
|
if: ${{ github.repository == 'citra-emu/citra' && !github.head_ref }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -389,10 +389,16 @@ endif()
|
||||||
# Create target for outputting distributable bundles.
|
# Create target for outputting distributable bundles.
|
||||||
if (NOT ANDROID AND NOT IOS)
|
if (NOT ANDROID AND NOT IOS)
|
||||||
include(BundleTarget)
|
include(BundleTarget)
|
||||||
|
if (ENABLE_SDL2_FRONTEND)
|
||||||
bundle_target(citra)
|
bundle_target(citra)
|
||||||
|
endif()
|
||||||
|
if (ENABLE_QT)
|
||||||
bundle_target(citra-qt)
|
bundle_target(citra-qt)
|
||||||
|
endif()
|
||||||
|
if (ENABLE_DEDICATED_ROOM)
|
||||||
bundle_target(citra-room)
|
bundle_target(citra-room)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
# Installation instructions
|
# Installation instructions
|
||||||
# =========================
|
# =========================
|
||||||
|
|
Loading…
Reference in a new issue