Skip to content

Commit

Permalink
Install idoc in the Fedora CI container
Browse files Browse the repository at this point in the history
This gives us access to both idoc and the necessary dependencies to
build the compiler from source. This in turn is needed so we can
document code (e.g. new intrinsics) that requires features not available
in the latest stable release.
  • Loading branch information
yorickpeterse committed Jul 30, 2024
1 parent 4a6edde commit 904ceb0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,3 @@ jobs:
uses: ./.github/workflows/container.yml
with:
name: 'ubuntu'
idoc:
uses: ./.github/workflows/container.yml
with:
name: 'idoc'
6 changes: 6 additions & 0 deletions ci/docker/fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ RUN sudo dnf install --assumeyes --quiet gcc make tar git rustup rclone \

RUN rustup-init --quiet -y --no-modify-path --profile minimal \
--component clippy,rustfmt --default-toolchain $RUST_VERSION

# idoc targets the latest stable release of Inko, but our tests run against a
# newer version. This allows us to use an existing idoc executable without
# having to compile it ourselves.
COPY --from=ghcr.io/inko-lang/idoc:latest ["/usr/bin/idoc", "/usr/bin/idoc"]
COPY --from=ghcr.io/inko-lang/idoc:latest ["/usr/share/idoc/assets", "/usr/share/idoc/assets"]
2 changes: 0 additions & 2 deletions ci/docker/idoc/Dockerfile

This file was deleted.

0 comments on commit 904ceb0

Please sign in to comment.