Skip to content

Commit 8bed4e2

Browse files
author
Ayane Satomi
committed
[ci] initial CircleCI support
Signed-off-by: Ayane Satomi <sr229@coder.com>
1 parent 65caa26 commit 8bed4e2

1 file changed

Lines changed: 65 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
version: 2.1
2+
notify:
3+
webhooks:
4+
- url: '' # Maintainers: You can hook this up on a Slack Webhook for CI.
5+
6+
jobs:
7+
build_git_linux:
8+
machine:
9+
image: circleci/classic:edge
10+
env:
11+
# We're allowing people to download nightlies through CircleCI's artifacts
12+
# so we're gonna be packaging it as close as possible to the released versions.
13+
VSCODE_VERSION: 1.38.1
14+
VERSION: .git-nightly
15+
MINIFY: true
16+
PACKAGE: true
17+
TARGET: linux
18+
PLATFORM: $TARGET
19+
steps:
20+
- checkout
21+
- run:
22+
name: "Run CI Steps"
23+
command: ./scripts/ci.bash
24+
- store_artifacts:
25+
path: ./release/code-server$VERSION-vsc$VSCODE_VERSION_$PLATFORM.tgz
26+
27+
build_git_alpine:
28+
machine:
29+
image: circleci/classic:edge
30+
env:
31+
# We're allowing people to download nightlies through CircleCI's artifacts
32+
# so we're gonna be packaging it as close as possible to the released versions.
33+
VSCODE_VERSION: 1.38.1
34+
VERSION: .git-nightly
35+
MINIFY: true
36+
PACKAGE: true
37+
TARGET: alpine
38+
PLATFORM: $TARGET
39+
steps:
40+
- checkout
41+
- run:
42+
name: "Run CI Steps"
43+
command: ./scripts/ci.bash
44+
- store_artifacts:
45+
path: ./release/code-server$VERSION-vsc$VSCODE_VERSION_$PLATFORM.tgz
46+
47+
build_git_macos:
48+
macos:
49+
xcode: 11.0.0
50+
env:
51+
# We're allowing people to download nightlies through CircleCI's artifacts
52+
# so we're gonna be packaging it as close as possible to the released versions.
53+
VSCODE_VERSION: 1.38.1
54+
VERSION: .git-nightly
55+
MINIFY: true
56+
PACKAGE: true
57+
TARGET: ''
58+
PLATFORM: $(if [ -z $TARGET ]; then echo "darwin"; fi)
59+
steps:
60+
- checkout
61+
- run:
62+
name: "Run CI Steps"
63+
command: ./scripts/ci.bash
64+
- store_artifacts:
65+
path: ./release/code-server$VERSION-vsc$VSCODE_VERSION_$PLATFORM.zip

0 commit comments

Comments
 (0)