remove debug mac from workflow

This commit is contained in:
Merill 2020-11-09 14:13:43 +01:00 committed by GitHub
parent e831cb07ab
commit 078e902b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,26 +93,25 @@ jobs:
name: nightly_macos.dmg name: nightly_macos.dmg
path: build/SuperSlicer.dmg path: build/SuperSlicer.dmg
# build again, but the debug one this time # build again, but the debug one this time
- name: cmake # - name: cmake
working-directory: ./build # working-directory: ./build
run: cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DSLIC3R_STATIC=1 # run: cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DSLIC3R_STATIC=1
- name: make slic3r # - name: make slic3r
working-directory: ./build # working-directory: ./build
run: make slic3r # run: make slic3r
- name: copy bin and do not let it lower case # - name: copy bin and do not let it lower case
working-directory: ./build # working-directory: ./build
run: | # run: |
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer # cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer # chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
tar -cvf SuperSlicer.tar SuperSlicer # tar -cvf SuperSlicer.tar SuperSlicer
- name: create dmg # - name: create dmg
working-directory: ./build # working-directory: ./build
run: | # run: |
rm SuperSlicer.dmg # rm SuperSlicer.dmg
hdiutil create -ov -fs HFS+ -volname "SuperSlicer" -srcfolder "SuperSlicer" temp.dmg # hdiutil create -ov -fs HFS+ -volname "SuperSlicer" -srcfolder "SuperSlicer" temp.dmg
hdiutil convert temp.dmg -format UDZO -o SuperSlicer.dmg # hdiutil convert temp.dmg -format UDZO -o SuperSlicer.dmg
- name: Upload artifact # - name: Upload artifact
uses: actions/upload-artifact@v1.0.0 # uses: actions/upload-artifact@v1.0.0
with: # with:
name: nightly_macos_DEBUG.dmg # name: nightly_macos_DEBUG.dmg
path: build/SuperSlicer.dmg