File tree Expand file tree Collapse file tree 6 files changed +16
-18
lines changed
Expand file tree Collapse file tree 6 files changed +16
-18
lines changed Original file line number Diff line number Diff line change 1717 - name : Set up cargo
1818 uses : dtolnay/rust-toolchain@master
1919 with :
20- toolchain : 1.63
20+ toolchain : 1.75
2121 - name : Cargo Cache
2222 uses : Swatinem/rust-cache@v2
2323 - name : Build docs
Original file line number Diff line number Diff line change 4343 - name : Set up cargo
4444 uses : dtolnay/rust-toolchain@master
4545 with :
46- toolchain : 1.63
46+ toolchain : 1.75
4747 - name : Cargo Cache
4848 uses : Swatinem/rust-cache@v2
4949 - name : Compile and package Volta
6363 - name : Set up cargo
6464 uses : dtolnay/rust-toolchain@master
6565 with :
66- toolchain : 1.63
66+ toolchain : 1.75
6767 target : aarch64-apple-darwin
6868 - name : Cargo Cache
6969 uses : Swatinem/rust-cache@v2
8484 - name : Set up cargo
8585 uses : dtolnay/rust-toolchain@master
8686 with :
87- toolchain : 1.63
87+ toolchain : 1.75
8888 - name : Cargo Cache
8989 uses : Swatinem/rust-cache@v2
9090 - name : Add cargo-wix subcommand
Original file line number Diff line number Diff line change 2626 - name : Set up cargo
2727 uses : dtolnay/rust-toolchain@master
2828 with :
29- toolchain : 1.63
29+ toolchain : 1.75
3030 components : clippy
3131 - name : Cargo Cache
3232 uses : Swatinem/rust-cache@v2
5050 - name : Set up cargo
5151 uses : dtolnay/rust-toolchain@master
5252 with :
53- toolchain : 1.63
53+ toolchain : 1.75
5454 - name : Cargo Cache
5555 uses : Swatinem/rust-cache@v2
5656 - name : Run tests
7777 - name : Set up cargo
7878 uses : dtolnay/rust-toolchain@master
7979 with :
80- toolchain : 1.63
80+ toolchain : 1.75
8181 components : rustfmt
8282 - name : Cargo Cache
8383 uses : Swatinem/rust-cache@v2
Original file line number Diff line number Diff line change 33set -e
44
55# Activate the upgraded versions of GCC and binutils
6- source /opt/rh/devtoolset-2/enable
6+ # See https://linux.web.cern.ch/centos7/docs/softwarecollections/#inst
7+ source /opt/rh/devtoolset-8/enable
78
89echo " Building Volta"
910
Original file line number Diff line number Diff line change 1- FROM cern/slc6 -base
1+ FROM cern/cc7 -base
22
33# This repo file references a URL that is no longer valid. It also isn't used by the build
44# toolchain, so we can safely remove it entirely
55RUN rm /etc/yum.repos.d/epel.repo
66
7+ # https://linux.web.cern.ch/centos7/docs/softwarecollections/#inst
78# Tools needed for the build and setup process
89RUN yum -y install wget tar
910# Fetch the repo information for the devtoolset repo
10- RUN wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo
11- # Install more recent GCC and binutils, to allow us to compile
12- RUN yum -y install devtoolset-2-gcc devtoolset-2-binutils
11+ RUN yum install -y centos-release-scl
12+ # Install more recent GCC and binutils, to allow us to compile
13+ RUN yum install -y devtoolset-8
1314
14- # Install Rust toolchain (need to do this manually since current rustup requires a more recent
15- # glibc version than is available on RHEL/CentOS 6)
16- RUN curl https://static.rust-lang.org/rustup/archive/1.25.1/x86_64-unknown-linux-gnu/rustup-init -sSf -o ~/rustup-init
17- RUN chmod +x ~/rustup-init
18- RUN ~/rustup-init -y --default-toolchain 1.63
15+ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
1916ENV PATH="/root/.cargo/bin:${PATH}"
Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " 1.63 "
2+ channel = " 1.75 "
33components = [" clippy" , " rustfmt" ]
44profile = " minimal"
You can’t perform that action at this time.
0 commit comments