Skip to content

Commit

Permalink
Merge branch 'ci' into timers-mips64
Browse files Browse the repository at this point in the history
  • Loading branch information
RodionovMaxim05 authored Dec 6, 2024
2 parents a8bc43d + 76da03b commit c9d45df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Martos ci workflow

on:
push:
branches: [ "main" ]
branches: [ "main", "ci" ]
pull_request:
branches: [ "main" ]

Expand Down
14 changes: 14 additions & 0 deletions dockers/xtensa-esp32/rust-dependencies/mips64el-rust.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM ubuntu:latest

# Update packages and install necessary dependencies
RUN apt update && apt install -y curl build-essential lld
# Install rustup, the Rust version manager
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Add .cargo/bin to PATH
ENV PATH="/root/.cargo/bin:${PATH}"
# Install nightly toolchain and set Rust version 1.71 as the default version
RUN rustup toolchain install nightly && rustup default 1.71
# Adding a target platform for compilation
RUN rustup target add mips64el-unknown-linux-gnuabi64
# Adding components to the nightly toolchain
RUN rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu

0 comments on commit c9d45df

Please sign in to comment.