Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: yzewei <yangzewei@loongson.cn>
  • Loading branch information
yzewei committed Jan 5, 2024
1 parent 30389ea commit b3bb085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/test-go.bats
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ testEnv() {

@test "loong64-env" {
skip "LOONG64 GO not supported"
export TARGETARCH=loong64
testEnv
}

@test "s390x-env" {
Expand Down Expand Up @@ -220,8 +218,6 @@ testHelloCGO() {

@test "loong64-hellocgo" {
skip "LOONG64 CGO not supported"
export TARGETARCH=loong64
testHelloCGO
}

@test "386-hellocgo" {
Expand Down
6 changes: 2 additions & 4 deletions util/bats-assert/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#FROM --platform=$BUILDPLATFORM alpine AS build
FROM cr.loongnix.cn/library/alpine:3.11 AS build
FROM --platform=$BUILDPLATFORM alpine AS build
RUN apk add --no-cache git
WORKDIR /work
ENV https_proxy=http://10.130.0.20:7890
RUN git clone --bare https://github.com/ztombol/bats-support && \
mkdir -p /out/bats-support && cd /out/bats-support && \
git --git-dir=/work/bats-support.git --work-tree=. checkout 004e707638eedd62e0481e8cdc9223ad471f12ee -- src load.bash LICENSE
Expand All @@ -18,7 +16,7 @@ RUN echo 'source "$(dirname "${BASH_SOURCE[0]}")/bats-support/load.bash"' > /out
FROM scratch AS release
COPY --from=build /out /

FROM cr.loongnix.cn/library/alpine:3.11 AS test-gen
FROM alpine AS test-gen
RUN apk add --no-cache bats
WORKDIR /work
COPY --from=release . .
Expand Down

0 comments on commit b3bb085

Please sign in to comment.