GitHub CI streamline uploaded artifact sizes.

- Reinstate per-platform upload artifacts.
- Don't upload shader converter binaries.
This commit is contained in:
Bill Hollings 2023-05-10 16:46:41 -04:00
parent 5bce402a6f
commit 3247bd465d
2 changed files with 8 additions and 5 deletions

View File

@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
xcode: [ "14.3" ]
platform: [ "all" ]
platform: [ "all", "macos", "ios" ]
os: [ "macos-13" ]
upload_artifacts: [ true ]
# additional specific configurations
@ -94,14 +94,17 @@ jobs:
- name: Tar Artifacts
if: success() && matrix.upload_artifacts == true
# See: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files
run: tar -C Package -s/Release/MoltenVK/ -cvf "MoltenVK.tar" Release/
# To reduce artifact size, don't include any stand-alone shader converter binaries.
run: |
rm -rf Package/Release/MoltenVKShaderConverter
tar -C Package -s/Release/MoltenVK/ -cvf "MoltenVK-${{ matrix.platform }}.tar" Release/
- name: Upload Artifacts
if: success() && matrix.upload_artifacts == true
uses: actions/upload-artifact@v3
with:
name: "MoltenVK"
path: "MoltenVK.tar"
name: "MoltenVK-${{ matrix.platform }}"
path: "MoltenVK-${{ matrix.platform }}.tar"
release:
name: 'Release'

View File

@ -31,7 +31,7 @@ Released TBD
disable recent fixes to handling LOD for arrayed depth images in shaders,
on Apple Silicon, when those fixes cause regression in rendering behavior.
- For correctness, set `VkPhysicalDeviceLimits::lineWidthGranularity` to `1`.
- Modify GitHub CI to build and create a single universal binary artifact.
- Improve GitHub CI production of binary artifacts on submission and release.