|
33 | 33 | node-version: 22 |
34 | 34 | - name: Test package resources |
35 | 35 | run: node --test --test-timeout=60000 scripts/package/*.test.mjs |
| 36 | + - name: Test bounded integration tool cleanup |
| 37 | + run: node --test --test-timeout=15000 scripts/compiler/process.test.mjs |
36 | 38 | - name: Check formatting |
37 | 39 | run: cargo fmt --all --check |
38 | 40 | - name: Lint |
|
74 | 76 | package=$(scripts/build-package.sh --arch "$arch") |
75 | 77 | scripts/archive-package.sh --package "$package" --arch "$arch" |
76 | 78 | done |
| 79 | + - name: Verify native compiler settings and JARs with JDT |
| 80 | + run: | |
| 81 | + package=".artifacts/package/$(uname -m)/io.github.lithe-idea.java-support" |
| 82 | + node scripts/compiler/test-live.mjs "$package" |
| 83 | + LITHE_JAVA_PROJECT_KIND=eclipse node scripts/compiler/test-live.mjs "$package" |
| 84 | + - name: Upload native compiler projections |
| 85 | + uses: actions/upload-artifact@v4 |
| 86 | + with: |
| 87 | + name: native-compiler-projection |
| 88 | + path: .artifacts/compiler/visual-*.json |
| 89 | + if-no-files-found: error |
77 | 90 | - name: Upload the archives |
78 | 91 | uses: actions/upload-artifact@v4 |
79 | 92 | with: |
@@ -126,3 +139,42 @@ jobs: |
126 | 139 | dist/*-linux-*.zip.sha256 |
127 | 140 | if-no-files-found: error |
128 | 141 | retention-days: 7 |
| 142 | + |
| 143 | + native-settings-visual: |
| 144 | + name: Native compiler settings screenshots |
| 145 | + if: github.event_name != 'pull_request' || !github.event.pull_request.draft |
| 146 | + needs: package |
| 147 | + runs-on: ubuntu-latest |
| 148 | + timeout-minutes: 25 |
| 149 | + steps: |
| 150 | + - uses: actions/checkout@v4 |
| 151 | + - uses: actions/download-artifact@v4 |
| 152 | + with: |
| 153 | + name: native-compiler-projection |
| 154 | + path: .artifacts/compiler |
| 155 | + - name: Read pinned host revision |
| 156 | + id: host |
| 157 | + run: echo "revision=$(node -p 'JSON.parse(require("fs").readFileSync("compiler-host.json")).revision')" >> "$GITHUB_OUTPUT" |
| 158 | + - uses: actions/checkout@v4 |
| 159 | + with: |
| 160 | + repository: 1lck/Lithe-IDEA |
| 161 | + ref: ${{ steps.host.outputs.revision }} |
| 162 | + path: .artifacts/host |
| 163 | + - uses: actions/setup-go@v5 |
| 164 | + with: |
| 165 | + go-version-file: .artifacts/host/desktop/go.mod |
| 166 | + cache: false |
| 167 | + - uses: dtolnay/rust-toolchain@master |
| 168 | + with: |
| 169 | + toolchain: 1.100.0 |
| 170 | + - uses: actions/setup-node@v4 |
| 171 | + with: |
| 172 | + node-version: 22 |
| 173 | + - name: Render actual compiler projections through the native host |
| 174 | + run: node scripts/compiler/visual.mjs .artifacts/host |
| 175 | + - uses: actions/upload-artifact@v4 |
| 176 | + with: |
| 177 | + name: native-compiler-settings-screenshots |
| 178 | + path: .artifacts/compiler/visual/ |
| 179 | + if-no-files-found: error |
| 180 | + retention-days: 14 |
0 commit comments