From 12529ec81e2913f9631a2bacea1cde1a07ea7700 Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Tue, 26 Nov 2024 10:57:43 +0800 Subject: [PATCH] ci:install llcppg dependent --- .github/workflows/go.yml | 9 ++++++--- .github/workflows/install_llcppg_depend.sh | 6 ++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/install_llcppg_depend.sh diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c56df4aa..9c4a2d45 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -99,6 +99,12 @@ jobs: - name: Build run: go build -v ./... + - name: Install + run: go install ./... + + - name: Install llcppg + run: bash .github/workflows/install_llcppg_depend.sh + - name: Test if: ${{!startsWith(matrix.os, 'macos')}} run: go test -v ./... @@ -107,9 +113,6 @@ jobs: if: startsWith(matrix.os, 'macos') run: go test -v -coverprofile="coverage.txt" -covermode=atomic ./... - - name: Install - run: go install ./... - - name: LLGO tests if: ${{!startsWith(matrix.os, 'ubuntu')}} run: | diff --git a/.github/workflows/install_llcppg_depend.sh b/.github/workflows/install_llcppg_depend.sh new file mode 100644 index 00000000..630b8105 --- /dev/null +++ b/.github/workflows/install_llcppg_depend.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +llgo install ./chore/_xtool/llcppsymg +llgo install ./chore/_xtool/llcppsigfetch +go install ./chore/gogensig \ No newline at end of file