Skip to content

Commit

Permalink
Move libraries into a folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr_brt committed Mar 23, 2021
1 parent 17c3ea7 commit a459795
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,32 @@ jobs:
shell: bash
run: bash mac-build.sh ${{github.workspace}}/supercollider

- name: Create Build Directory
run: cmake -E make_directory ${{github.workspace}}/mi-UGens

- name: Prepare library for zip file
if: matrix.os != 'windows-latest'
shell: bash
run: cp **/build/**.dylib **/build/**.so mi-UGens

- name: Prepare library for zip file
if: matrix.os == 'windows-latest'
shell: pwsh
run: copy **/build/**.dll mi-UGens

# Gather all files in a zip
- name: Zip up build (Unix)
if: matrix.os != 'windows-latest'
shell: bash
working-directory: ${{github.workspace}}/build
run: zip -r mi-UGens-${{runner.os}} install/mi-UGens
run: zip -r mi-UGens-${{runner.os}} mi-UGens

# Gather all files in a zip
- name: Zip up build (Windows)
if: matrix.os == 'windows-latest'
shell: pwsh
working-directory: ${{github.workspace}}\build
run: Compress-7Zip "install\mi-UGens" -ArchiveFileName "mi-UGens-${{runner.os}}.zip" -Format Zip
run: Compress-7Zip "mi-UGens" -ArchiveFileName "mi-UGens-${{runner.os}}.zip" -Format Zip

- name: Check if release has been created
uses: mukunku/[email protected]
Expand Down

0 comments on commit a459795

Please sign in to comment.