GitHub CI streamline uploaded artifact sizes.
- Reinstate per-platform upload artifacts. - Don't upload shader converter binaries.
This commit is contained in:
parent
5bce402a6f
commit
3247bd465d
11
.github/workflows/CI.yml
vendored
11
.github/workflows/CI.yml
vendored
@ -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'
|
||||
|
@ -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.
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user