Update casa.yml

This commit is contained in:
老竭力 2022-01-04 14:51:09 +08:00 committed by GitHub
parent 4a6fc9a945
commit 601e7ce10b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,6 +64,16 @@ jobs:
# ln -sf /workdir/casa $GITHUB_WORKSPACE/casa
# ls
- name: Compile glibc
run: |
wget -q http://ftp.gnu.org/gnu/glibc/glibc-2.30.tar.bz2
sudo mkdir /opt/glibc230
tar xvfj glibc-2.30.tar.bz2
mkdir build
cd build
../glibc-2.30/configure --prefix=/opt/glibc230 --enable-cet
sudo make -j$(($(nproc) + 1))
sudo make install
- name: Set enviroment for github-release
run: |
@ -98,7 +108,7 @@ jobs:
v: true
x: false
race: false
ldflags: -s -w -extldflags "-static"
ldflags: -s -w -L /opt/glibc230/lib -extldflags "-static"
buildmode: default
#
# - name: List Files