Commit Graph

21 Commits

Author SHA1 Message Date
Zach Bloomquist
db752f5f93 Only package Windows builds of ffmpeg with Windows, build for win32 and win64 (#3877)
* appveyor build for this branch

* don't force install ffmpeg on windows

don't force install ffmpeg on windows

* derp

* fix

* build in appveyor

* oops

* delete using del

* use RMDIR instead of DEL

* only build 32-bit

* build for x64 and x86 windows

* separate win32 and win64

* require lodash

* make electron arch configurable

* cross-compile 32, only run in 64-bit

* force install ffmpeg if necessary

* it's all win10 x64, but we can force it to build for ia32 in x32 mode

* add windows util

* who's idea was it to make whitespace meaningful?

* pass arch to npm install, pass arch to uploader

* add TARGET_PLATFORM

* fun fact: appveyor titlecases env var names

fun fact: appveyor titlecases env var names

* fix: pass args

* use process

* cli: use arch package to send arch to server

* pass TARGET_ARCH to all npm installs

* run-all

* always call getUploadNameByOs

* use the precise version of node, enable both x64 and ia32 arch

* quotes

* uh wat

* move console logs to script because windows

* add yet another env var to install the right node arch

* use x86, not x32

* give ia32 a try, why not

* use platform env again

* and also try x86 again

* remove notion of target_arch since we're using the right node version with arch set correctly

* more comprehensive checks to ensure the arch is correct

* simplify building the binary, do not accept arch as options

* build the binary and test it on this branch

* remove arch, ensure that process.env.Platform is set to x86

* do build the binary unless this is a forked PR

* attempt to verify that this is a 32bit or 64bit windows binary

* remove unused dep

* consolidate commands

* don't install packages in windows - just build the binary

- this avoids needing to reinstall all node_modules and build-js twice

* build the binary on more branches

* cd up appveyor

* ugh

* right logic for whether or not this is a forked PR

* remove unused deps

* fix undefined var

* platformArch

* set in options

* turns out we do have to npm install before building the binary

* options.platformArch

* comment out appveyor build 32bit/64bit verification temporarily


Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2019-04-08 11:48:14 -04:00
Brian Mann
9edc8b921c don't ask to commit package.json version 2018-11-14 20:01:32 -05:00
Oliver Forral
80456ea8dd Fixed misspellings of Cypres to Cypress in comments (#1198) 2018-01-17 16:34:24 -05:00
Gleb Bahmutov
e3e1a5fe15 build: make empty commit in next version branch first, close #1070 (#1071)
* build: make empty commit in next version branch first, close #1070

* build: add branch name = version to commit message
2017-12-14 14:49:15 -05:00
Gleb Bahmutov
cbf1da0802 Separate bump next version command (#922)
* set set-next-ci-version script command

* use current package.json version when asking for next one

* showing actual error response from buildkite

* rename .aws-credentials.json to just aws-credentials.json file

* rename aws_credentials_json on appveyor
2017-11-16 14:12:30 -05:00
Brian Mann
5c007badfe root: add additional tasks for committing release and updating repos with next dev version 2017-10-14 19:55:29 -04:00
Brian Mann
d657b3545f root: add release tasks to bump cypress server manifest [skip ci] 2017-10-04 18:47:59 -04:00
Gleb Bahmutov
56328d5200 add purge-version --version command, close #549 (#555) 2017-10-04 15:45:57 +00:00
Gleb Bahmutov
c244b4dca7 Merge branch 'win-binary-495' into develop 2017-10-02 21:14:40 -04:00
Gleb Bahmutov
4672b569f1 Upload tar and zip (#536)
* run linter an all

* add NPM package CI job

* more steps for NPM package

* start upload NPM package

* more work on NPM package upload

* testing upload

* move purge cache to utils

* add unique binary build and upload from CI

* pass saved urls to test-binary job

* allow CYPRESS_BINARY_VERSION to be an url right away

* put uploaded urls into /tmp folder

* use explicit json filenames

* paths instead of path

* testing cypress npm and binary

* use NPM folder beta to store temp binary and package

* refactor utils

* set env vars and trigger other test projects

* only test NPM and binary on develop branch

* enable all jobs again
2017-10-01 17:01:19 -04:00
Gleb Bahmutov
4c157557a3 Merge pull request #521 from cypress-io/bring-back-commits
Bring back commits
2017-09-28 10:25:34 -04:00
Brian Mann
80914cbd31 root: add bump tasks for circle [skip ci] 2017-09-27 20:01:36 -04:00
Gleb Bahmutov
3ee71a095d add zip and upload steps to AppVeyor script 2017-09-27 08:31:19 -07:00
Gleb Bahmutov
a0c08bbdf3 Windows support (#484)
* try installing on Windows

* Handle windows setup

- no browser detection on windows yet, just placeholder code
- symlink types

* add appveyor file

* add appveyor windows build

* use execa to run server unit tests

* run server unit tests on appveyor

* ignore root install errors

* upgrade rebuild-node-sass

and work on Json unit test that fails on Windows

* print npm version

before installing, commented out caching node modules in the root

* a few small tweaks for windows support

* fix bin-up in launcher project

use bin-up@1.1.0 for windows support, close #491

* cli: build script on Windows, close #492

* cli: build errors are fatal

* use cross-env in extension

Fixes environment variables on Windows in #490

* extension: fix 3 tests on Windows

1 more broken test remaining

* extension: use EOL before comparing text

* example: update test for Windows

* example: replace build.sh with build.js

Close #488

* remove trailing whitespace

* cli: build script again

* server: work on unit tests for windows

* binary: add windows as build platform

* windows: try building binary

started work on building on CI for windows
2017-09-25 10:17:28 -04:00
Brian Mann
4b9b36a4bb root: remove dead deploy code, refactor to do smoke test, project test, and failing project test 2017-09-17 20:51:03 -04:00
Brian Mann
2050630b1f root: fix deploy bugs when running all the tasks at once 2017-09-01 02:22:35 -04:00
Gleb Bahmutov
c90d99e11c binary: use @cypress/questions-remain 2017-07-11 11:40:22 -04:00
Gleb Bahmutov
1610fa5eeb binary: allow mac alias to darwin 2017-07-06 09:55:16 -04:00
Gleb Bahmutov
f33aeabfa0 binary: add CLI option to skip cleaning output dist folder 2017-06-29 16:07:49 -04:00
Gleb Bahmutov
0951cf00d7 binary: default platform on linux is linux 2017-06-29 15:04:50 -04:00
Brian Mann
be211af10e deploy: rename deploy -> binary folder 2017-06-29 14:06:45 -04:00