Skip to content

Commit

Permalink
Merge pull request #111 from crazy-max/fix-test-golang
Browse files Browse the repository at this point in the history
golang: fix test with pkgconf
  • Loading branch information
tonistiigi authored Jul 13, 2023
2 parents 75ff1e5 + 7eeeac0 commit dea0136
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,13 @@ jobs:
typ: debian
allow-failure: true
-
image: debian:bullseye
image: debian:bullseye-backports
typ: debian
allow-failure: false
-
image: debian:bookworm
typ: debian
# FIXME: Set to false when https://github.com/tonistiigi/xx/issues/95 fixed
allow-failure: true
allow-failure: false
-
image: debian:sid
typ: debian
Expand Down
3 changes: 2 additions & 1 deletion src/test-go.bats
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,9 @@ testHelloCGO() {
rm -rf /usr/bin/$(xx-info triple)* || true

add llvm
add pkg-config || add pkgconf
add pkgconf || add pkg-config
xxadd xx-c-essentials
xxadd pkgconf || add pkg-config
run xx-go env
assert_success
assert_output --partial 'CC="'"$(xx-info triple)-clang"'"'
Expand Down

0 comments on commit dea0136

Please sign in to comment.