mirror of
https://github.com/jlengrand/elm-language-client-vscode.git
synced 2026-03-10 08:11:17 +00:00
27
.github/workflows/compile.yaml
vendored
Normal file
27
.github/workflows/compile.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Compile
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
node-version: [12]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: true
|
||||
- name: Setup node ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: npm ci and compile
|
||||
run: |
|
||||
npm ci
|
||||
npm run compile
|
||||
env:
|
||||
CI: true
|
||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -1,3 +1,3 @@
|
||||
[submodule "server"]
|
||||
path = server
|
||||
url = git@github.com:elm-tooling/elm-language-server.git
|
||||
url = https://github.com/elm-tooling/elm-language-server.git
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
jobs:
|
||||
- job: Windows
|
||||
pool:
|
||||
name: Hosted VS2017
|
||||
demands: npm
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
displayName: "Use Node 12.x"
|
||||
inputs:
|
||||
versionSpec: 12.x
|
||||
- task: Npm@1
|
||||
displayName: "Install dependencies"
|
||||
inputs:
|
||||
verbose: false
|
||||
- task: Npm@1
|
||||
displayName: "Compile sources"
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: "run compile"
|
||||
# - script: "node node_modules/vscode/bin/test"
|
||||
# displayName: "Run tests"
|
||||
- job: macOS
|
||||
pool:
|
||||
name: Hosted macOS
|
||||
demands: npm
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
displayName: "Use Node 12.x"
|
||||
inputs:
|
||||
versionSpec: 12.x
|
||||
- task: Npm@1
|
||||
displayName: "Install dependencies"
|
||||
inputs:
|
||||
verbose: false
|
||||
- task: Npm@1
|
||||
displayName: "Compile sources"
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: "run compile"
|
||||
# - script: "node node_modules/vscode/bin/test"
|
||||
# displayName: "Run tests"
|
||||
- job: Linux
|
||||
pool:
|
||||
name: Hosted Ubuntu 1604
|
||||
demands: npm
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
displayName: "Use Node 12.x"
|
||||
inputs:
|
||||
versionSpec: 12.x
|
||||
- task: Npm@1
|
||||
displayName: "Install dependencies"
|
||||
inputs:
|
||||
verbose: false
|
||||
- task: Npm@1
|
||||
displayName: "Compile sources"
|
||||
inputs:
|
||||
command: custom
|
||||
verbose: false
|
||||
customCommand: "run compile"
|
||||
- script: |
|
||||
set -e
|
||||
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
|
||||
disown -ar
|
||||
displayName: "Start xvfb"
|
||||
# - script: "node node_modules/vscode/bin/test"
|
||||
# displayName: "Run tests"
|
||||
# env:
|
||||
# DISPLAY: :10
|
||||
Reference in New Issue
Block a user