Skip to content

Commit

Permalink
rsc: Enable RSC to build with rust 1.8 (#1621)
Browse files Browse the repository at this point in the history
* rsc: Enable RSC to build with rust 1.8

* missed one

* update docker files

* temporarily disable alpine
  • Loading branch information
V-FEXrt authored Aug 5, 2024
1 parent cbf3c68 commit d46a0c6
Show file tree
Hide file tree
Showing 13 changed files with 2,319 additions and 1,656 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ jobs:
strategy:
matrix:
include:
- target: alpine
dockerfile: alpine
extra_docker_build_args: ''
extra_docker_run_args: ''
build_cmd: make -C wake-* static
test_cmd: tar xvJf wake-*/wake-static_* && cd tests && ../wake-*/bin/wake -x Unit
install_src_glob: build/wake-*/wake-static_*
# - target: alpine
# dockerfile: alpine
# extra_docker_build_args: ''
# extra_docker_run_args: ''
# build_cmd: make -C wake-* static
# test_cmd: tar xvJf wake-*/wake-static_* && cd tests && ../wake-*/bin/wake -x Unit
# install_src_glob: build/wake-*/wake-static_*

- target: debian_bullseye
dockerfile: debian-bullseye
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles/alpine
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk add m4 g++ make pkgconf git tar xz gmp-dev re2-dev sqlite-dev fuse-dev n

WORKDIR /build

ENV VERSION=1.70.0
ENV VERSION=1.80.0
ENV RUST_FOLDER="rust-$VERSION-x86_64-unknown-linux-musl"
ENV RUST_TAR="$RUST_FOLDER.tar.gz"
RUN wget "https://static.rust-lang.org/dist/$RUST_TAR"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles/debian-bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y build-essential m4 devscripts git fuse


WORKDIR /build
ENV VERSION=1.70.0
ENV VERSION=1.80.0
ENV RUST_FOLDER="rust-$VERSION-x86_64-unknown-linux-gnu"
ENV RUST_TAR="$RUST_FOLDER.tar.gz"
RUN wget "https://static.rust-lang.org/dist/$RUST_TAR"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles/fedora-38
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN rpmdev-setuptree


WORKDIR /build
ENV VERSION=1.70.0
ENV VERSION=1.80.0
ENV RUST_FOLDER="rust-$VERSION-x86_64-unknown-linux-gnu"
ENV RUST_TAR="$RUST_FOLDER.tar.gz"
RUN wget "https://static.rust-lang.org/dist/$RUST_TAR"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles/rocky-8
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN rpmdev-setuptree


WORKDIR /build
ENV VERSION=1.70.0
ENV VERSION=1.80.0
ENV RUST_FOLDER="rust-$VERSION-x86_64-unknown-linux-gnu"
ENV RUST_TAR="$RUST_FOLDER.tar.gz"
RUN wget "https://static.rust-lang.org/dist/$RUST_TAR"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles/rocky-9
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN dnf install -y rpm-build rpm-devel rpmlint make python3 bash diffutils patch
RUN rpmdev-setuptree

WORKDIR /build
ENV VERSION=1.70.0
ENV VERSION=1.80.0
ENV RUST_FOLDER="rust-$VERSION-x86_64-unknown-linux-gnu"
ENV RUST_TAR="$RUST_FOLDER.tar.gz"
RUN wget "https://static.rust-lang.org/dist/$RUST_TAR"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles/ubuntu-22.04
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:22.04
RUN apt-get update && apt-get install -y build-essential m4 debhelper devscripts git fuse libfuse-dev libgmp-dev libncurses5-dev libre2-dev libsqlite3-dev pkg-config squashfuse wget iproute2 jq libssl-dev

WORKDIR /build
ENV VERSION=1.70.0
ENV VERSION=1.80.0
ENV RUST_FOLDER="rust-$VERSION-x86_64-unknown-linux-gnu"
ENV RUST_TAR="$RUST_FOLDER.tar.gz"
RUN wget "https://static.rust-lang.org/dist/$RUST_TAR"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles/wasm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y build-essential devscripts git fuse lib
RUN useradd -m -d /build build

WORKDIR /build
ENV VERSION=1.70.0
ENV VERSION=1.80.0
ENV RUST_FOLDER="rust-$VERSION-x86_64-unknown-linux-gnu"
ENV RUST_TAR="$RUST_FOLDER.tar.gz"
RUN wget "https://static.rust-lang.org/dist/$RUST_TAR"
Expand Down
Loading

0 comments on commit d46a0c6

Please sign in to comment.