Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 1 addition & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,7 @@ jobs:
LUX_VERSION=${{ startsWith(matrix.otp, '24') && 'lux-2.6' || '' }}
file: ./Dockerfile
context: .
- name: Test OTP 27 Image (Rust Toolchain should be installed)
if: startsWith(matrix.otp, '27')
- name: All OTP Image (Rust Toolchain should be installed)
run: |
docker run --rm test-image:latest bash -c 'rustup toolchain list' | \
grep "1.88.0"
- name: Test non-OTP 27 Image (Rust Toolchain should NOT be installed)
if: "!startsWith(matrix.otp, '27')"
run: |
docker run --rm test-image:latest bash -c 'rustup toolchain list' | \
grep "no installed toolchains"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN if [ -f /opt/rh/devtoolset-10/enable ]; then source /opt/rh/devtoolset-10/en
/get-otp.sh ${OTP_VERSION} && \
/get-elixir.sh ${ELIXIR_VERSION} && \
if [ "${OTP_VERSION#26.}" != "$OTP_VERSION" ]; then /get-fdb.sh ${FDB_VERSION}; fi && \
if echo "${OTP_VERSION}" | grep -q "^27\."; then /get-rust.sh ${RUST_VERSION}; fi && \
/get-rust.sh ${RUST_VERSION} && \
/get-emqtt-bench.sh && \
/get-lux.sh ${LUX_VERSION} && \
rm /get-otp.sh /get-zsh.sh /get-elixir.sh /get-fdb.sh /get-emqtt-bench.sh /get-lux.sh
Expand Down