mirror of
https://github.com/clangd/clangd.git
synced 2025-04-21 08:03:00 +00:00
testing build script
This commit is contained in:
parent
d5998e7fce
commit
3ec19c565e
7
.github/workflows/autobuild.yaml
vendored
7
.github/workflows/autobuild.yaml
vendored
@ -7,8 +7,6 @@
|
|||||||
name: Build release binaries
|
name: Build release binaries
|
||||||
on:
|
on:
|
||||||
# Run weekly on sunday at 21:37 UTC (arbitrary)
|
# Run weekly on sunday at 21:37 UTC (arbitrary)
|
||||||
schedule:
|
|
||||||
- cron: '37 21 * * SUN'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
commit:
|
commit:
|
||||||
@ -192,6 +190,11 @@ jobs:
|
|||||||
# libraries. All other gRPC dependencies can be built from sources.
|
# libraries. All other gRPC dependencies can be built from sources.
|
||||||
grpc_cmake: >-
|
grpc_cmake: >-
|
||||||
"-DgRPC_CARES_PROVIDER=package"
|
"-DgRPC_CARES_PROVIDER=package"
|
||||||
|
- name: linux-aarch64
|
||||||
|
os: ubuntu-latest
|
||||||
|
container: ubuntu:22.04
|
||||||
|
preinstall: >-
|
||||||
|
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
container: ${{ matrix.config.container }}
|
container: ${{ matrix.config.container }}
|
||||||
steps:
|
steps:
|
||||||
|
57
.github/workflows/build.sh
vendored
Executable file
57
.github/workflows/build.sh
vendored
Executable file
@ -0,0 +1,57 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir -p /opt && mkdir -p /home/gcc-user && useradd gcc-user && chown gcc-user /opt /home/gcc-user
|
||||||
|
|
||||||
|
apt-get clean -y && apt-get check -y
|
||||||
|
|
||||||
|
apt-get update -y -q && apt-get upgrade -y -q && apt-get upgrade -y -q && \
|
||||||
|
apt-get install -y -q \
|
||||||
|
autoconf \
|
||||||
|
automake \
|
||||||
|
libtool \
|
||||||
|
bison \
|
||||||
|
bzip2 \
|
||||||
|
flex \
|
||||||
|
curl \
|
||||||
|
help2man \
|
||||||
|
file \
|
||||||
|
git \
|
||||||
|
binutils-multiarch \
|
||||||
|
libncurses5-dev \
|
||||||
|
libtool-bin \
|
||||||
|
linux-libc-dev \
|
||||||
|
libc6-dev-i386 \
|
||||||
|
make \
|
||||||
|
ninja-build \
|
||||||
|
s3cmd \
|
||||||
|
sed \
|
||||||
|
subversion \
|
||||||
|
texinfo \
|
||||||
|
wget \
|
||||||
|
unzip \
|
||||||
|
autopoint \
|
||||||
|
gettext \
|
||||||
|
zlib1g-dev \
|
||||||
|
xz-utils \
|
||||||
|
gcc \
|
||||||
|
cmake \
|
||||||
|
build-essential \
|
||||||
|
aptitude \
|
||||||
|
libstdc++6 \
|
||||||
|
python3 \
|
||||||
|
gawk \
|
||||||
|
python-dev-is-python3
|
||||||
|
|
||||||
|
su - gcc-user
|
||||||
|
|
||||||
|
RUN wget -O - https://github.com/crosstool-ng/crosstool-ng/releases/download/crosstool-ng-1.26.0/crosstool-ng-1.26.0.tar.xz | tar -xJ
|
||||||
|
cd /opt/crosstool-ng-1.26.0
|
||||||
|
./bootstrap && \
|
||||||
|
mkdir build && cd build && \
|
||||||
|
../configure && \
|
||||||
|
make -j$(($(nproc) * 2))
|
||||||
|
su - root
|
||||||
|
cd build && make install && \
|
||||||
|
cd .. && rm -rf build
|
||||||
|
cd ../ && rm -r crosstool-ng-1.26.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user