From ae35a6d29147b94b13c9f1a66bc5a1363a12cb92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=AB=AD=E5=8A=9B?= Date: Thu, 30 Dec 2021 18:44:07 +0800 Subject: [PATCH] Update casa.yml --- .github/workflows/casa.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/casa.yml b/.github/workflows/casa.yml index ef58692..0736142 100644 --- a/.github/workflows/casa.yml +++ b/.github/workflows/casa.yml @@ -31,7 +31,7 @@ jobs: matrix: go_version: - 1.17.1 - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: # - name: Get release @@ -76,6 +76,16 @@ jobs: uses: actions/setup-node@v2 with: node-version: '14' + + - name: Compile glibc + run: | + wget http://ftp.gnu.org/gnu/glibc/glibc-2.30.tar.gz + mkdir /opt/glibc230 + tar xvfj glibc-2.30.tar.bz2 + cd glibc-2.30 + ./glibc-2.30/configure --prefix=/opt/glibc230 --enable-cet + make + make install - name: Build frontend with nodejs and yarn run: | @@ -98,7 +108,7 @@ jobs: v: true x: false race: false - ldflags: -s -w + ldflags: -s -w -L /opt/glibc230/lib -extldflags "-static" buildmode: default # # - name: List Files