Skip to content

Commit

Permalink
Create windows-gnu and windows-msvc builds
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbergstrom committed Dec 22, 2016
1 parent fd5733f commit 8fcf88f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
22 changes: 21 additions & 1 deletion etc/ci/buildbot_steps.yml
Expand Up @@ -106,7 +106,27 @@ windows-dev:
- ./mach test-unit
- ./mach build-geckolib

windows-gnu-dev:
- ./mach build --dev
- ./mach test-unit
- ./mach build-geckolib

windows-msvc-dev:
- mach.bat build --dev
- mach.bat test-unit
- mach.bat build-geckolib

windows-nightly:
- ./mach build --release
- ./mach package --release
- ./etc/ci/upload_nightly.sh windows
- ./etc/ci/upload_nightly.sh windows-gnu

windows-nightly-gnu:
- ./mach build --release
- ./mach package --release
- ./etc/ci/upload_nightly.sh windows-gnu

windows-nightly-msvc:
- mach.bat build --release
- mach.bat package --release
- .\etc\ci\upload_nightly.sh windows-msvc
5 changes: 3 additions & 2 deletions etc/ci/upload_nightly.sh
Expand Up @@ -11,7 +11,7 @@ shopt -s failglob


usage() {
printf "usage: ${0} android|linux|mac|macbrew|windows\n"
printf "usage: ${0} android|linux|mac|macbrew|windows-gnu|windows-msvc\n"
}


Expand Down Expand Up @@ -48,7 +48,8 @@ main() {
elif [[ "${platform}" == "macbrew" ]]; then
extension=tar.gz
package=target/release/brew/*."${extension}"
elif [[ "${platform}" == "windows" ]]; then
elif [[ "${platform}" == "windows-gnu" ||
"${platform}" == "windows-msvc" ]]; then
extension=msi
package=target/release/msi/*.msi
else
Expand Down

0 comments on commit 8fcf88f

Please sign in to comment.