Skip to content

Commit

Permalink
Added dmg packages generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapyshev committed Oct 31, 2023
1 parent adffe0c commit b070247
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,21 @@ jobs:
# Run tests
ctest --preset ninja-multi-vcpkg-ci-${{ matrix.build_type }}
# Create dmg packages
cpack --config ${{ github.workspace }}/builds/ninja-multi-vcpkg-ci/CPackConfig.cmake -C ${{ matrix.build_type }}
# Need to backup vcpkg executable to prevent it's rebuild/redownload each time
if [ -f vcpkg4aspia/vcpkg ]; then
echo "Backup vcpkg executable"
cp vcpkg4aspia/vcpkg $VCPKG_DEFAULT_BINARY_CACHE/vcpkg.bak
fi
# Step 4
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: build-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.build_type }}
path: |
${{ github.workspace }}/*.dmg
if-no-files-found: error
retention-days: 7

0 comments on commit b070247

Please sign in to comment.