Update casa.yml

This commit is contained in:
老竭力 2022-01-04 16:22:38 +08:00 committed by GitHub
parent 601e7ce10b
commit 489a617126
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,16 +64,6 @@ 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: |
@ -100,7 +90,7 @@ jobs:
- name: Build with xgo
uses: crazy-max/ghaction-xgo@v1
with:
xgo_version: latest
xgo_version: v0.7.5
go_version: ${{ matrix.go_version }}
dest: build
prefix: casa
@ -108,7 +98,7 @@ jobs:
v: true
x: false
race: false
ldflags: -s -w -L /opt/glibc230/lib -extldflags "-static"
ldflags: -s -w
buildmode: default
#
# - name: List Files