Update READMEs with links to other related tools #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
# run workflow on manual dispatches or push/pull request to main branch | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
# build on ubuntu/macos/windows with java 11/17 and Node 16 | |
build: | |
strategy: | |
matrix: | |
java: [ 11 ] | |
node: [ '16' ] | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} (Java ${{ matrix.java }} Node ${{ matrix.node }}) | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.Java }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Build Language Server | |
run: language-server/gradlew -p language-server/ build --no-daemon | |
# TODO: Reintegrate Test Report (fails for PRs) | |
# - name: Test Report | |
# uses: dorny/test-reporter@v1 | |
# if: success() || failure() | |
# with: | |
# name: JUnit Test Results (${{ matrix.os }} Java ${{ matrix.Java }}) | |
# path: language-server/org.big.erd/build/test-results/test/TEST-*.xml, language-server/org.big.erd.ide/build/test-results/test/TEST-*.xml | |
# reporter: java-junit | |
- name: Build Webview | |
run: yarn --cwd webview | |
- name: Build Extension | |
run: yarn --cwd extension |