@@ -2,123 +2,120 @@ name: CI
22
33on :
44 push :
5- branches-ignore :
6- - ' **'
7- # push:
8- # branches:
9- # - master
10- # - release/*
11- # pull_request:
12- # branches:
13- # - master
14- # - release/*
5+ branches :
6+ - master
7+ - release/*
8+ pull_request :
9+ branches :
10+ - master
11+ - release/*
1512
1613jobs :
17- linux :
18- runs-on : ubuntu-latest
19- env :
20- CHILD_CONCURRENCY : " 1"
21- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22- steps :
23- - uses : actions/checkout@v1
24- # TODO: rename azure-pipelines/linux/xvfb.init to github-actions
25- - run : |
26- sudo apt-get update
27- sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libgbm1
28- sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
29- sudo chmod +x /etc/init.d/xvfb
30- sudo update-rc.d xvfb defaults
31- sudo service xvfb start
32- name: Setup Build Environment
33- - uses : actions/setup-node@v1
34- with :
35- node-version : 10
36- # TODO: cache node modules
37- - run : yarn --frozen-lockfile
38- name : Install Dependencies
39- - run : yarn electron x64
40- name : Download Electron
41- - run : yarn gulp hygiene
42- name : Run Hygiene Checks
43- - run : yarn monaco-compile-check
44- name : Run Monaco Editor Checks
45- - run : yarn valid-layers-check
46- name : Run Valid Layers Checks
47- - run : yarn compile
48- name : Compile Sources
49- - run : yarn download-builtin-extensions
50- name : Download Built-in Extensions
51- - run : DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests"
52- name : Run Unit Tests (Electron)
53- - run : DISPLAY=:10 yarn test-browser --browser chromium
54- name : Run Unit Tests (Browser)
55- - run : DISPLAY=:10 ./scripts/test-integration.sh --tfs "Integration Tests"
56- name : Run Integration Tests (Electron)
14+ # linux:
15+ # runs-on: ubuntu-latest
16+ # env:
17+ # CHILD_CONCURRENCY: "1"
18+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+ # steps:
20+ # - uses: actions/checkout@v1
21+ # # TODO: rename azure-pipelines/linux/xvfb.init to github-actions
22+ # - run: |
23+ # sudo apt-get update
24+ # sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libgbm1
25+ # sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
26+ # sudo chmod +x /etc/init.d/xvfb
27+ # sudo update-rc.d xvfb defaults
28+ # sudo service xvfb start
29+ # name: Setup Build Environment
30+ # - uses: actions/setup-node@v1
31+ # with:
32+ # node-version: 10
33+ # # TODO: cache node modules
34+ # - run: yarn --frozen-lockfile
35+ # name: Install Dependencies
36+ # - run: yarn electron x64
37+ # name: Download Electron
38+ # - run: yarn gulp hygiene
39+ # name: Run Hygiene Checks
40+ # - run: yarn monaco-compile-check
41+ # name: Run Monaco Editor Checks
42+ # - run: yarn valid-layers-check
43+ # name: Run Valid Layers Checks
44+ # - run: yarn compile
45+ # name: Compile Sources
46+ # - run: yarn download-builtin-extensions
47+ # name: Download Built-in Extensions
48+ # - run: DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests"
49+ # name: Run Unit Tests (Electron)
50+ # - run: DISPLAY=:10 yarn test-browser --browser chromium
51+ # name: Run Unit Tests (Browser)
52+ # - run: DISPLAY=:10 ./scripts/test-integration.sh --tfs "Integration Tests"
53+ # name: Run Integration Tests (Electron)
5754
58- windows :
59- runs-on : windows-2016
60- env :
61- CHILD_CONCURRENCY : " 1"
62- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63- steps :
64- - uses : actions/checkout@v1
65- - uses : actions/setup-node@v1
66- with :
67- node-version : 10
68- - uses : actions/setup-python@v1
69- with :
70- python-version : ' 2.x'
71- - run : yarn --frozen-lockfile
72- name : Install Dependencies
73- - run : yarn electron
74- name : Download Electron
75- - run : yarn gulp hygiene
76- name : Run Hygiene Checks
77- - run : yarn monaco-compile-check
78- name : Run Monaco Editor Checks
79- - run : yarn valid-layers-check
80- name : Run Valid Layers Checks
81- - run : yarn compile
82- name : Compile Sources
83- - run : yarn download-builtin-extensions
84- name : Download Built-in Extensions
85- - run : .\scripts\test.bat --tfs "Unit Tests"
86- name : Run Unit Tests (Electron)
87- - run : yarn test-browser --browser chromium
88- name : Run Unit Tests (Browser)
89- - run : .\scripts\test-integration.bat --tfs "Integration Tests"
90- name : Run Integration Tests (Electron)
55+ # windows:
56+ # runs-on: windows-2016
57+ # env:
58+ # CHILD_CONCURRENCY: "1"
59+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+ # steps:
61+ # - uses: actions/checkout@v1
62+ # - uses: actions/setup-node@v1
63+ # with:
64+ # node-version: 10
65+ # - uses: actions/setup-python@v1
66+ # with:
67+ # python-version: '2.x'
68+ # - run: yarn --frozen-lockfile
69+ # name: Install Dependencies
70+ # - run: yarn electron
71+ # name: Download Electron
72+ # - run: yarn gulp hygiene
73+ # name: Run Hygiene Checks
74+ # - run: yarn monaco-compile-check
75+ # name: Run Monaco Editor Checks
76+ # - run: yarn valid-layers-check
77+ # name: Run Valid Layers Checks
78+ # - run: yarn compile
79+ # name: Compile Sources
80+ # - run: yarn download-builtin-extensions
81+ # name: Download Built-in Extensions
82+ # - run: .\scripts\test.bat --tfs "Unit Tests"
83+ # name: Run Unit Tests (Electron)
84+ # - run: yarn test-browser --browser chromium
85+ # name: Run Unit Tests (Browser)
86+ # - run: .\scripts\test-integration.bat --tfs "Integration Tests"
87+ # name: Run Integration Tests (Electron)
9188
92- darwin :
93- runs-on : macos-latest
94- env :
95- CHILD_CONCURRENCY : " 1"
96- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
97- steps :
98- - uses : actions/checkout@v1
99- - uses : actions/setup-node@v1
100- with :
101- node-version : 10
102- - run : yarn --frozen-lockfile
103- name : Install Dependencies
104- - run : yarn electron x64
105- name : Download Electron
106- - run : yarn gulp hygiene
107- name : Run Hygiene Checks
108- - run : yarn monaco-compile-check
109- name : Run Monaco Editor Checks
110- - run : yarn valid-layers-check
111- name : Run Valid Layers Checks
112- - run : yarn compile
113- name : Compile Sources
114- - run : yarn download-builtin-extensions
115- name : Download Built-in Extensions
116- - run : ./scripts/test.sh --tfs "Unit Tests"
117- name : Run Unit Tests (Electron)
118- - run : yarn test-browser --browser chromium --browser webkit
119- name : Run Unit Tests (Browser)
120- - run : ./scripts/test-integration.sh --tfs "Integration Tests"
121- name : Run Integration Tests (Electron)
89+ # darwin:
90+ # runs-on: macos-latest
91+ # env:
92+ # CHILD_CONCURRENCY: "1"
93+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94+ # steps:
95+ # - uses: actions/checkout@v1
96+ # - uses: actions/setup-node@v1
97+ # with:
98+ # node-version: 10
99+ # - run: yarn --frozen-lockfile
100+ # name: Install Dependencies
101+ # - run: yarn electron x64
102+ # name: Download Electron
103+ # - run: yarn gulp hygiene
104+ # name: Run Hygiene Checks
105+ # - run: yarn monaco-compile-check
106+ # name: Run Monaco Editor Checks
107+ # - run: yarn valid-layers-check
108+ # name: Run Valid Layers Checks
109+ # - run: yarn compile
110+ # name: Compile Sources
111+ # - run: yarn download-builtin-extensions
112+ # name: Download Built-in Extensions
113+ # - run: ./scripts/test.sh --tfs "Unit Tests"
114+ # name: Run Unit Tests (Electron)
115+ # - run: yarn test-browser --browser chromium --browser webkit
116+ # name: Run Unit Tests (Browser)
117+ # - run: ./scripts/test-integration.sh --tfs "Integration Tests"
118+ # name: Run Integration Tests (Electron)
122119
123120 monaco :
124121 runs-on : ubuntu-latest
0 commit comments