From 6470df7586ce7e20bb3325c12c7f244a37b4d074 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 10 Aug 2025 13:01:40 -0700 Subject: [PATCH] Package assets in CI --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0aefef65..54d314ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: fail-fast: false matrix: include: - - { name: 'Linux', os: 'ubuntu-latest', generator: 'Ninja', dx5: false, config: true, linux: true, werror: true, clang-tidy: true } + - { name: 'Linux', os: 'ubuntu-latest', generator: 'Ninja', dx5: false, config: true, linux: true, werror: true, clang-tidy: true, build-assets: true } - { name: 'Linux (Debug)', os: 'ubuntu-latest', generator: 'Ninja', dx5: false, config: true, linux: true, werror: true, clang-tidy: true, debug: true } - { name: 'MSVC (x86)', os: 'windows-latest', generator: 'Ninja', dx5: true, config: false, msvc: true, werror: false, clang-tidy: false, vc-arch: 'amd64_x86' } - { name: 'MSVC (x64)', os: 'windows-latest', generator: 'Ninja', dx5: false, config: true, msvc: true, werror: false, clang-tidy: false, vc-arch: 'amd64' } @@ -113,6 +113,7 @@ jobs: -DCMAKE_BUILD_TYPE=Release \ -DISLE_USE_DX5=${{ !!matrix.dx5 }} \ -DISLE_BUILD_CONFIG=${{ !!matrix.config }} \ + -DISLE_BUILD_ASSETS=${{ !!matrix.build-assets }} \ -DENABLE_CLANG_TIDY=${{ !!matrix.clang-tidy }} \ -DISLE_WERROR=${{ !!matrix.werror }} \ -DISLE_DEBUG=${{ matrix.debug || 'OFF' }} \ @@ -121,6 +122,10 @@ jobs: - name: Build (CMake) run: cmake --build build --verbose --config Release + - name: Package Assets Separately + if: matrix.build-assets + run: (cd build/assets && zip -r ../../isle-assets.zip .) + - name: Package (CPack) if: ${{ !matrix.n3ds }} run: | @@ -180,6 +185,8 @@ jobs: build/dist/*.AppImage build/dist/*.3dsx build/dist/*.cia + isle-assets.zip + if-no-files-found: ignore flatpak: name: "Flatpak (${{ matrix.arch }})"