diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml new file mode 100644 index 0000000..502e202 --- /dev/null +++ b/.github/workflows/compile.yaml @@ -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 diff --git a/.gitmodules b/.gitmodules index 2a0cb9c..2ad00f2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index f939e41..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -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