Skip to content

Commit

Permalink
Cleanup CI packaging shuffling around file for the bin folder
Browse files Browse the repository at this point in the history
  • Loading branch information
reductor authored and BearishSun committed Apr 30, 2019
1 parent 00ad629 commit b66ad2e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,15 @@ build_script:
- cmd: cmake --build ./ --config Release --target INSTALL

after_build:
- ps: cd ..
- ps: mkdir packaged
- ps: cd packaged
- ps: Move-Item -Path ../install/bin/* -Destination ./
- ps: mkdir bin
- ps: Move-Item -Path ./Mono -Destination ./bin
- ps: Move-Item -Path ./Assemblies -Destination ./bin
- ps: cd ..
- ps: >-
if($env:APPVEYOR_REPO_TAG -eq "true")
{ $buildName = $env:APPVEYOR_REPO_TAG_NAME }
else
{ $buildName = "$(Get-Date -format yyyy.MM.dd)" }
- ps: Set-AppveyorBuildVariable "B3D_BUILD_NAME" "$buildName"
- cmd: 7z a b3d_%B3D_BUILD_NAME%_win64.zip ./packaged/* -xr!*pdb
- cmd: 7z a b3d_%B3D_BUILD_NAME%_win64_symbols.zip ./packaged/*pdb -r
- cmd: 7z a b3d_%B3D_BUILD_NAME%_win64.zip ./install/* -xr!*pdb
- cmd: 7z a b3d_%B3D_BUILD_NAME%_win64_symbols.zip ./install/*pdb -r

artifacts:
- path: b3d_%B3D_BUILD_NAME%_win64.zip
Expand Down

0 comments on commit b66ad2e

Please sign in to comment.