Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
zebreus committed Jun 10, 2023
1 parent 0c8c5a9 commit 7ea2843
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
- name: Install GraphViz
run: sudo apt-get install graphviz -y

- name: Install Symbolator
run: |
wget https://github.com/zebreus/symbolator/releases/download/v1.2.1/symbolator.AppImage
chmod +x symbolator.AppImage
mv symbolator.AppImage /usr/local/bin/symbolator
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion server/ops/docker/jdk11-jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ COPY --from=kroki-builder-nomnoml /app/app.bin /usr/bin/nomnoml
COPY --from=kroki-builder-vega /app/app.bin /usr/bin/vega
COPY --from=kroki-builder-dbml /app/app.bin /usr/bin/dbml
COPY --from=kroki-builder-wavedrom /app/app.bin /usr/bin/wavedrom
COPY --from=kroki-builder-symbolator /build/symbolator.bin /usr/bin/symbolator
COPY --from=kroki-builder-static-symbolator /build/symbolator.bin /usr/bin/symbolator
COPY --from=kroki-builder-bytefield /app/app.bin /usr/bin/bytefield
COPY --from=kroki-builder-dvisvgm /usr/local/bin/dvisvgm /usr/bin/dvisvgm
COPY --from=tikz tikz2svg /usr/bin/tikz2svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public void should_call_symbolator_with_correct_arguments() throws Exception {
// Assert that the file looks like an SVG
assertThat(new String(svgWithOpaqueBackground, StandardCharsets.UTF_8)).contains("svg");
// Assert that expected things are in the diagram
assertThat(new String(svgWithOpaqueBackground, StandardCharsets.UTF_8)).contains("counter");
assertThat(new String(svgWithOpaqueBackground, StandardCharsets.UTF_8)).contains("clock");
assertThat(new String(svgWithOpaqueBackground, StandardCharsets.UTF_8)).contains("count");

Expand Down

0 comments on commit 7ea2843

Please sign in to comment.