File tree 2 files changed +29
-3
lines changed
2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,40 @@ jobs:
42
42
# output_dir: /opt/riscv-linux-toolchain
43
43
44
44
name : ${{ matrix.display_name }}
45
- runs-on : ubuntu-20.04
45
+ runs-on : ubuntu-latest
46
+ # This is a CentOS 7 based image
47
+ container : quay.io/pypa/manylinux2014_x86_64
46
48
timeout-minutes : 360
47
49
48
50
steps :
49
- - uses : actions/checkout@v4
51
+ # This uses checkout v3 instead of v4 because GitHub actions's nodejs 20 currently does not work on CentOS 7.
52
+ - uses : actions/checkout@v3
50
53
51
54
- name : Setup environment
52
55
run : |
53
56
echo ::group::Install dependencies
54
- ./prepare-ubuntu-20.04.sh
57
+ yum install -y \
58
+ sudo \
59
+ git \
60
+ shadow-utils \
61
+ bison \
62
+ flex \
63
+ texinfo \
64
+ help2man \
65
+ gawk \
66
+ gettext \
67
+ curl \
68
+ xz \
69
+ ncurses-devel \
70
+ ncurses-static \
71
+ pixman-devel \
72
+ rh-python36 \
73
+ zlib-devel \
74
+ zlib-static \
75
+ libffi-devel
76
+ echo ::endgroup::
77
+
78
+ echo ::group::Install crosstool-ng
55
79
./install-crosstool-ng.sh
56
80
echo ::endgroup::
57
81
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ cd "${build_top_dir}/build/gcc"
64
64
echo " # ADDED BY ${0} " ;
65
65
echo " CT_PREFIX_DIR=\" ${toolchain_dest} \" "
66
66
echo " CT_LOCAL_PATCH_DIR=\" ${build_top_dir} /patches/${toolchain_name} \" "
67
+ echo " CT_ALLOW_BUILD_AS_ROOT=y"
68
+ echo " CT_ALLOW_BUILD_AS_ROOT_SURE=y"
67
69
echo " # END ADDED BY ${0} "
68
70
} > .config
69
71
ct-ng upgradeconfig
You can’t perform that action at this time.
0 commit comments