File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ kind : pipeline
2+ name : GNU GCC ARM64 BUILD
3+
4+ clone :
5+ disable : true
6+
7+ platform :
8+ arch : amd64
9+
10+ steps :
11+ - name : BUILDING GCC
12+ image : ubuntu:20.04
13+ environment :
14+ DEBIAN_FRONTEND : noninteractive
15+ GITHUB_TOKEN :
16+ from_secret : GITHUB_TOKEN
17+ TARGET : arm64
18+ GCC_VERSION : 9
19+ COMMIT_MESSAGE : " Update GCC 9 from CI build"
20+ commands :
21+ # Setup Docker
22+ - apt-get update
23+ - apt-get install -yq software-properties-common lsb-release apt-transport-https ca-certificates curl software-properties-common
24+ - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
25+ - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
26+ - apt-get install -yq docker-ce
27+
28+ # Installing Dependencies
29+ - apt-get update
30+ - apt-get -y upgrade
31+ - apt-get -y install flex bison ncurses-dev texinfo gcc gperf patch libtool automake g++ libncurses5-dev gawk expat libexpat1-dev python-all-dev binutils-dev bc libcap-dev autoconf autoconf-archive libgmp-dev build-essential gcc-multilib g++-multilib pkg-config libmpc-dev libmpfr-dev autopoint gettext liblzma-dev libssl-dev libz-dev rsync wget
32+
33+ # Building GCC
34+ - git clone https://github.com/EternalX-project/build-tools-gcc.git builder && cd builder
35+ - bash build -a $TARGET -s gnu -v $GCC_VERSION -V -p gz glibc
36+
37+ # Push GCC To Github
38+ - git clone "https://$GITHUB_TOKEN@github.com/EternalX-project/x86_64-aarch64-linux-gnu" upstream -b $GCC_VERSION
39+ - cd upstream
40+ - rm -rf *
41+ - cp -r ../aarch64-linux-gnu/* .
42+ - git add .
43+ - git commit -am "$COMMIT_MESSAGE"
44+ - git push
45+
You can’t perform that action at this time.
0 commit comments