From 7d27288b2bcc60beb346f4b3580299a8752197b7 Mon Sep 17 00:00:00 2001 From: Mads Kjeldgaard Date: Wed, 13 Mar 2024 15:36:21 +0100 Subject: [PATCH] ci: Reactivate --- .../{cmake_ctest.txt => cmake_build.yml} | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename .github/workflows/{cmake_ctest.txt => cmake_build.yml} (97%) diff --git a/.github/workflows/cmake_ctest.txt b/.github/workflows/cmake_build.yml similarity index 97% rename from .github/workflows/cmake_ctest.txt rename to .github/workflows/cmake_build.yml index 6505513..5a9a04b 100755 --- a/.github/workflows/cmake_ctest.txt +++ b/.github/workflows/cmake_build.yml @@ -1,4 +1,4 @@ -name: Pamplejuce +name: Build on: workflow_dispatch: # lets you run a build from the UI @@ -51,7 +51,7 @@ jobs: # Thanks to McMartin & co https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/44 run: | sudo apt-get update && sudo apt install libasound2-dev libx11-dev libxinerama-dev libxext-dev libfreetype6-dev libwebkit2gtk-4.0-dev libglu1-mesa-dev xvfb ninja-build - # downgrade gcc to workaround 22.04 and C++20 issue + # downgrade gcc to workaround 22.04 and C++20 issue # see: https://github.com/actions/runner-images/issues/8659 sudo apt-get install -y --allow-downgrades libc6=2.35-0ubuntu3.6 libc6-dev=2.35-0ubuntu3.6 libstdc++6=12.3.0-1ubuntu1~22.04 libgcc-s1=12.3.0-1ubuntu1~22.04 sudo /usr/bin/Xvfb $DISPLAY & @@ -135,7 +135,7 @@ jobs: echo "ARTIFACTS_PATH=$ARTIFACTS_PATH" >> $GITHUB_ENV echo "VST3_PATH=$ARTIFACTS_PATH/VST3/${{ env.PRODUCT_NAME }}.vst3" >> $GITHUB_ENV echo "AU_PATH=$ARTIFACTS_PATH/AU/${{ env.PRODUCT_NAME }}.component" >> $GITHUB_ENV - echo "AUV3_PATH=$ARTIFACTS_PATH/AUv3/${{ env.PRODUCT_NAME }}.appex" >> $GITHUB_ENV + echo "AUV3_PATH=$ARTIFACTS_PATH/AUv3/${{ env.PRODUCT_NAME }}.appex" >> $GITHUB_ENV echo "STANDALONE_PATH=$ARTIFACTS_PATH/Standalone/${{ env.PRODUCT_NAME }}.app" >> $GITHUB_ENV echo "ARTIFACT_NAME=${{ env.PRODUCT_NAME }}-${{ env.VERSION }}-${{ matrix.name }}" >> $GITHUB_ENV @@ -159,14 +159,14 @@ jobs: run: | # add the icns as its own icon resource (meta!) sips -i packaging/pamplejuce.icns - + # Grab the resource, put in tempfile DeRez -only icns packaging/pamplejuce.icns > /tmp/icons - + # Stuff the resource into the strange Icon? file's resource fork Rez -a /tmp/icons -o "${{ env.VST3_PATH }}/Icon"$'\r' Rez -a /tmp/icons -o "${{ env.AU_PATH }}/Icon"$'\r' - + # Set custom icon attribute SetFile -a C "${{ env.VST3_PATH }}" SetFile -a C "${{ env.AU_PATH }}" @@ -178,7 +178,7 @@ jobs: python3 -m pip install setuptools npm install -g appdmg mkdir -p packaging/dmg - + # Create directories for the dmg symlinks sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 ln -s /Library/Audio/Plug-Ins/Components "packaging/dmg/Your Mac's Component folder" @@ -186,7 +186,7 @@ jobs: mv "${{ env.VST3_PATH }}" packaging/dmg mv "${{ env.AU_PATH }}" packaging/dmg mv "${{ env.STANDALONE_PATH }}" packaging/dmg - + # Run appdmg to create the .dmg cd packaging && appdmg dmg.json "${{ env.ARTIFACT_NAME}}.dmg" codesign -s "${{ secrets.DEVELOPER_ID_APPLICATION}}" --timestamp -i ${{ env.BUNDLE_ID }} --force "${{ env.ARTIFACT_NAME }}.dmg" @@ -204,7 +204,7 @@ jobs: run: | iscc "packaging\installer.iss" mv "packaging/Output/${{ env.ARTIFACT_NAME }}.exe" "${{ env.ARTIFACTS_PATH }}/" - dotnet tool install --global AzureSignTool + dotnet tool install --global AzureSignTool AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "${{ env.ARTIFACTS_PATH }}/${{ env.ARTIFACT_NAME }}.exe" - name: Upload Exe (Windows)