-
Notifications
You must be signed in to change notification settings - Fork 77
44 lines (34 loc) · 929 Bytes
/
macOS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
darwin:
name: macOS
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: '17'
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install Node.js modules
run: npm install
- name: Install VSCE
run: npm install -g @vscode/vsce
- name: Build OSGi bundle
run: npm run build-server
- name: Build VSIX file
run: vsce package
- name: Test extension
run: npm test
- name: Print language server Log if job failed
if: ${{ failure() }}
run: find $HOME/Library/Application\ Support/Code/User/workspaceStorage/*/redhat.java/jdt_ws/.metadata/.log -print -exec cat '{}' \;;