Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Sep 15, 2023
1 parent 77ac7cf commit f08778a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- os: macos-latest
build_args: release ios
build_target: ios
artifact_name: build/Release/ios/libveldrid-spirv.xcframework
artifact_name: build/Release/ios/libveldrid-spirv.xcframework.zip
name: ${{ matrix.build_target }} Native Build

steps:
Expand Down Expand Up @@ -71,6 +71,12 @@ jobs:
fi
shell: bash

- name: Compress Framework For Upload
if: ${{ matrix.build_target == 'ios' }}
uses: montudor/action-zip@v1
with:
args: zip -qq -r ${{ matrix.artifact_name }} build/Release/ios/libveldrid-spirv.xcframework

# We can only run per-platform tests on 64-bit architectures
# https://github.com/actions/setup-dotnet/issues/72
- name: Install .NET
Expand Down Expand Up @@ -151,6 +157,14 @@ jobs:
name: ios
path: build/Release/ios

- name: Uncompress ios archive
uses: montudor/action-zip@v1
with:
args: unzip -qq build/Release/ios/veldrid-spirv.xcframework.zip -d build/Release/ios/veldrid-spirv.xcframework

- name: List
run: ls; ls ./build; ls ./build/Release; ls ./build/Release/ios; ls ./build/Release/ios/veldrid-spirv.xcframework

- name: Install .NET
uses: actions/setup-dotnet@v1
with:
Expand Down

0 comments on commit f08778a

Please sign in to comment.