mirror of
https://github.com/citra-emu/citra-canary.git
synced 2024-12-23 17:35:30 +00:00
Produce 7zip artifacts on Travis and Appveyor
This commit is contained in:
parent
05a38e307c
commit
a7dae7fd70
|
@ -36,5 +36,5 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
|
||||||
|
|
||||||
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||||
brew update
|
brew update
|
||||||
brew install qt5 sdl2 dylibbundler
|
brew install qt5 sdl2 dylibbundler p7zip
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -124,6 +124,11 @@ EOL
|
||||||
|
|
||||||
tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$REV_NAME"
|
tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$REV_NAME"
|
||||||
|
|
||||||
|
mv "$REV_NAME" nightly
|
||||||
|
|
||||||
|
7z a "$REV_NAME.7z" nightly
|
||||||
|
|
||||||
# move the compiled archive into the artifacts directory to be uploaded by travis releases
|
# move the compiled archive into the artifacts directory to be uploaded by travis releases
|
||||||
mv "$ARCHIVE_NAME" artifacts/
|
mv "$ARCHIVE_NAME" artifacts/
|
||||||
|
mv "$REV_NAME.7z" artifacts/
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -19,6 +19,7 @@ addons:
|
||||||
- libqt5opengl5-dev
|
- libqt5opengl5-dev
|
||||||
- xorg-dev
|
- xorg-dev
|
||||||
- lib32stdc++6 # For CMake
|
- lib32stdc++6 # For CMake
|
||||||
|
- p7zip-full
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
@ -33,7 +34,7 @@ deploy:
|
||||||
api_key:
|
api_key:
|
||||||
secure: Mck15DIWaJdxDiS3aYVlM9N3G6y8VKUI1rnwII7/iolfm1s94U+tgvbheZDmT7SSbFyaGaYO/E8HrV/uZR9Vvs7ev20sHsTN1u60OTWfDIIyHs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i2fK88NLXjyQ0uLVZ+7Oq1+kgDp6+N7vvXXZ5qZ17tdaysSbKEE0Y8zsoXw7Rk1tPN19vrCS+TSpomNMyQyne1k+I5iZ/qkxPTLAS5qI6Utc2dL3GJdxWRAEfGNO9AIX3GV/jmmKfdcvwGsCYP8hxqs5vLYfgacw3D8NLf1941lQUwavC17jm9EV9g5G3Pn1Cp516E=
|
||||||
file_glob: true
|
file_glob: true
|
||||||
file: "artifacts/*.tar.*"
|
file: "artifacts/*"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: citra-emu/citra-nightly
|
repo: citra-emu/citra-nightly
|
||||||
|
|
15
appveyor.yml
15
appveyor.yml
|
@ -37,16 +37,25 @@ after_build:
|
||||||
# Where are these spaces coming from? Regardless, let's remove them
|
# Where are these spaces coming from? Regardless, let's remove them
|
||||||
$MSVC_BUILD_NAME = "citra-windows-msvc-$GITDATE-$GITREV.zip" -replace " ", ""
|
$MSVC_BUILD_NAME = "citra-windows-msvc-$GITDATE-$GITREV.zip" -replace " ", ""
|
||||||
$MSVC_BUILD_PDB = "citra-windows-msvc-$GITDATE-$GITREV-debugsymbols.zip" -replace " ", ""
|
$MSVC_BUILD_PDB = "citra-windows-msvc-$GITDATE-$GITREV-debugsymbols.zip" -replace " ", ""
|
||||||
|
$MSVC_SEVENZIP = "citra-windows-msvc-$GITDATE-$GITREV.7z" -replace " ", ""
|
||||||
$BINTRAY_VERSION = "nightly-$GIT_LONG_HASH" -replace " ", ""
|
$BINTRAY_VERSION = "nightly-$GIT_LONG_HASH" -replace " ", ""
|
||||||
|
|
||||||
# set the build names as env vars so the artifacts can upload them
|
# set the build names as env vars so the artifacts can upload them
|
||||||
$env:MSVC_BUILD_NAME = $MSVC_BUILD_NAME
|
$env:MSVC_BUILD_NAME = $MSVC_BUILD_NAME
|
||||||
$env:MSVC_BUILD_PDB = $MSVC_BUILD_PDB
|
$env:MSVC_BUILD_PDB = $MSVC_BUILD_PDB
|
||||||
|
$env:MSVC_SEVENZIP = $MSVC_SEVENZIP
|
||||||
$env:GITREV = $GITREV
|
$env:GITREV = $GITREV
|
||||||
|
|
||||||
7z a -tzip $MSVC_BUILD_PDB .\build\bin\release\*.pdb
|
7z a -tzip $MSVC_BUILD_PDB .\build\bin\release\*.pdb
|
||||||
rm .\build\bin\release\*.pdb
|
rm .\build\bin\release\*.pdb
|
||||||
7z a -tzip $MSVC_BUILD_NAME .\build\bin\release\* .\license.txt .\README.md
|
|
||||||
|
mkdir nightly
|
||||||
|
Copy-Item .\build\bin\release\* -Destination nightly -Recurse
|
||||||
|
Copy-Item .\license.txt -Destination nightly
|
||||||
|
Copy-Item .\README.md -Destination nightly
|
||||||
|
|
||||||
|
7z a -tzip $MSVC_BUILD_NAME nightly\*
|
||||||
|
7z a $MSVC_SEVENZIP nightly
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cd build && ctest -VV -C Release && cd ..
|
- cd build && ctest -VV -C Release && cd ..
|
||||||
|
@ -58,6 +67,8 @@ artifacts:
|
||||||
- path: $(MSVC_BUILD_PDB)
|
- path: $(MSVC_BUILD_PDB)
|
||||||
name: msvcdebug
|
name: msvcdebug
|
||||||
type: zip
|
type: zip
|
||||||
|
- path: $(MSVC_SEVENZIP)
|
||||||
|
name: msvcupdate
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: GitHub
|
provider: GitHub
|
||||||
|
@ -68,7 +79,7 @@ deploy:
|
||||||
Short Commit Hash $(GITREV)
|
Short Commit Hash $(GITREV)
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: "dbpsMC/MgPKWFNJCXpQl4cR8FYhepkPLjgNp/pRMktZ8oLKTqPYErfreaIxb/4P1"
|
secure: "dbpsMC/MgPKWFNJCXpQl4cR8FYhepkPLjgNp/pRMktZ8oLKTqPYErfreaIxb/4P1"
|
||||||
artifact: msvcbuild
|
artifact: msvcupdate,msvcbuild
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
on:
|
on:
|
||||||
|
|
Loading…
Reference in a new issue