Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
131d71c
created a new project with correct settings for language server
brayjmendoza Sep 25, 2025
5d2935d
Merge branch 'PRIDE1095-HEX' of github.com:niluo-shiqi/riscv-unified-…
brayjmendoza Sep 25, 2025
04dfbf7
recreated xtext project to have correct language server settings
brayjmendoza Sep 25, 2025
d9c97af
fixed project layout
brayjmendoza Sep 26, 2025
0a0f59b
Copy pasted in previous hex grammar and tests
niluo-shiqi Sep 26, 2025
6454649
Deleted duplicate tests
niluo-shiqi Sep 26, 2025
531d2cb
Added Language Server Generation files
niluo-shiqi Sep 28, 2025
7d81f97
launch.json file
niluo-shiqi Sep 28, 2025
363fb6a
Stop tracking build outputs, ignore target/build/out/node_modules
niluo-shiqi Sep 28, 2025
68b02f1
Add LS fat jar to extension server/ directory
niluo-shiqi Sep 28, 2025
6156fb6
Updated gitignore
niluo-shiqi Sep 28, 2025
c97337e
changed the grammar for HEX terminal
brayjmendoza Sep 29, 2025
00d7c6d
fixed generated files and added evaluating hex as ints
brayjmendoza Oct 4, 2025
5db9ed6
fixed plugin.xml files
brayjmendoza Oct 5, 2025
a723492
LS syntax highlighting
niluo-shiqi Oct 21, 2025
07f91eb
LS syntax highlighting
niluo-shiqi Oct 23, 2025
b7ac2e6
Merge branch 'PRIDE1095-HEX' of https://github.com/niluo-shiqi/riscv-…
niluo-shiqi Oct 23, 2025
eb3a8de
Fixed ci test
niluo-shiqi Oct 23, 2025
17c49f7
deleted unnecessary package
niluo-shiqi Oct 23, 2025
fef5912
updated manifests
niluo-shiqi Oct 23, 2025
7e53112
run headless
niluo-shiqi Oct 23, 2025
4d7eba6
wait longer
niluo-shiqi Oct 23, 2025
9798901
removed pending test
niluo-shiqi Oct 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: CI

on:
push:
branches: [ main, PRIDE1095-HEX ]
pull_request:
branches: [ main, PRIDE1095-HEX ]

jobs:
java-tests:
name: Java (Xtext) tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: tools/eclipse/dev/org.xtext.udb.parent
steps:
- uses: actions/checkout@v4

- name: Setup Temurin JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven


- name: Build & test (whole reactor)
working-directory: tools/eclipse/dev/org.xtext.udb.parent
env:
MAVEN_OPTS: "-Djdk.xml.maxGeneralEntitySizeLimit=0 -Djdk.xml.totalEntitySizeLimit=0 -Djdk.xml.entityExpansionLimit=0"
run: mvn -B -U -Dheadless=true verify

- name: Archive surefire reports (always)
if: always()
uses: actions/upload-artifact@v4
with:
name: surefire-reports
path: |
**/target/surefire-reports/*.xml
**/target/surefire-reports/*.txt

vscode-tests:
name: VS Code Mocha tests
runs-on: ubuntu-latest
needs: java-tests
defaults:
run:
working-directory: udb-vscode
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: udb-vscode/package-lock.json


- name: Setup Temurin JDK 21 (for LS)
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'

- name: Install deps
run: npm ci

- name: Compile
run: npm run compile

- name: Run VS Code tests
run: xvfb-run -a npm test

- name: Archive VS Code test logs (always)
if: always()
uses: actions/upload-artifact@v4
with:
name: vscode-test-logs
path: |
udb-vscode/.vscode-test/**/*
udb-vscode/out/test/**/*
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,23 @@ sorbet
!tools/ruby-gems/idlc/sorbet
!tools/ruby-gems/udb/sorbet
coverage
.DS_Store*

# emacs backup files
*~
**/target/
**/build/
**/.gradle/
**/bin/
udb-vscode/out/
node_modules/

!udb-vscode/.vscode/
!udb-vscode/.vscode/launch.json
!udb-vscode/.vscode/tasks.json
udb-vscode/server/*
!udb-vscode/server/udb-ls-all.jar
.vscode-test/
**/.vscode-test/

**/node_modules/
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>riscv-unified-db-hmc-clinic-team-</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
Loading