Skip to content

Commit

Permalink
try to fix crosscompile ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
david415 committed May 26, 2024
1 parent a85ebac commit 50eb9a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ubuntu-golang-cross-compile-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
#
# - name: Install Golang deps
# run: sudo ./misc/install-debian-go-deps-by-arch.sh ${{ matrix.ARCH }}
#
# - name: Build Golang cgo
# run: ./misc/test-golang-cross.sh ${{ matrix.ARCH }}
#

- name: Install Golang deps
run: sudo ./misc/install-debian-go-deps-by-arch.sh ${{ matrix.ARCH }}

- name: Build Golang cgo
run: ./misc/test-golang-cross.sh ${{ matrix.ARCH }}
2 changes: 1 addition & 1 deletion misc/test-golang-cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ then


CC="clang $TARGET $EXTRA_FLAGS $EXTRA_INCLUDE" \
go test -v ./...;
go get -v ./... && go build -v ./...
echo -e "$CHECKMARK";


Expand Down

0 comments on commit 50eb9a4

Please sign in to comment.