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