Skip to content

Commit

Permalink
fix "No space left" in Windows SDK build
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed May 3, 2023
1 parent 718b5e7 commit 4298ab2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-sdk-windows.yml
Expand Up @@ -82,16 +82,17 @@ jobs:
echo INSTALL_DIR=\"$CHECKOUT_DIR/build\"
echo INSTALL_DIR=\"$CHECKOUT_DIR/build\" > build-shotcut.conf
echo SHOTCUT_VERSION=\"$VERSION\" >> build-shotcut.conf
echo ENABLE_GLAXNIMATE=0 >> build-shotcut.conf
echo DEBUG_BUILD=1 >> build-shotcut.conf
bash scripts/build-shotcut-msys2.sh -s
mv build/shotcut-sdk.zip build/shotcut-win64-sdk-$FILENAME_VERSION.zip
mv build/shotcut-sdk.txz build/shotcut-win64-sdk-$FILENAME_VERSION.txz
echo Done
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: windows-sdk
path: ./build/shotcut-win64-sdk-*.zip
path: ./build/shotcut-win64-sdk-*.txz

- name: Upload packages to S3
if: ${{ github.repository_owner == 'mltframework' }}
Expand All @@ -102,7 +103,7 @@ jobs:
export AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY }}
export AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_KEY }}
export AWS_DEFAULT_REGION=us-east-1
for file in build/*.zip; do
for file in build/*.txz; do
echo Uploading "$file" to S3
aws s3 cp --acl public-read "$file" s3://builds.us.meltytech/shotcut/ --no-progress
done
3 changes: 2 additions & 1 deletion scripts/build-shotcut-msys2.sh
Expand Up @@ -855,6 +855,7 @@ function get_subproject {
cmd git --no-pager clone --quiet --recurse-submodules $REPOLOC || die "Unable to git clone source for $1 from $REPOLOC"
cmd cd $1 || die "Unable to change to directory $1"
cmd git checkout --recurse-submodules $REVISION || die "Unable to git checkout $REVISION"
[ "$SDK" = "1" -a "shotcut" != "$1" -a "mlt" != "$1" ] && cmd rm -rf .git
fi
elif test "svn" = "$REPOTYPE" ; then
# Create subdir if not exist
Expand Down Expand Up @@ -1229,7 +1230,7 @@ function deploy

log Creating archive
cmd cd ..
cmd zip -gr shotcut-sdk.zip Shotcut
cmd tar -cJf shotcut-sdk.txz Shotcut
fi
popd
}
Expand Down

0 comments on commit 4298ab2

Please sign in to comment.