mirror of
https://github.com/atom/atom.git
synced 2026-02-01 18:25:06 -05:00
This will make it possible to run the build on Circle instances that don’t define the required environment variables for code signing. We could do some crazy shell scripting in the circle.yml, but this is easier overall.
42 lines
738 B
YAML
42 lines
738 B
YAML
machine:
|
|
environment:
|
|
XCODE_SCHEME: test
|
|
XCODE_WORKSPACE: test
|
|
XCODE_PROJECT: test
|
|
|
|
xcode:
|
|
version: 7.3
|
|
|
|
general:
|
|
artifacts:
|
|
- out/atom-mac.zip
|
|
- out/atom-mac-symbols.zip
|
|
- docs/output/atom-api.json
|
|
|
|
dependencies:
|
|
pre:
|
|
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash
|
|
- nvm install 4.4.7
|
|
- nvm use 4.4.7
|
|
- npm install -g npm
|
|
|
|
override:
|
|
- script/bootstrap
|
|
- script/build --code-sign
|
|
|
|
post:
|
|
- cd out
|
|
- zip -r ./atom-mac.zip ./Atom.app
|
|
- zip -r ./atom-mac-symbols.zip ./symbols
|
|
- cd -
|
|
|
|
cache_directories:
|
|
- cache
|
|
- apm/node_modules
|
|
- script/node_modules
|
|
- node_modules
|
|
|
|
test:
|
|
override:
|
|
- script/test
|