Skip to content

Commit

Permalink
build, refactor: use default docker on x64.
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Oct 27, 2023
1 parent 59273e5 commit a0fdefa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ if [[ $HOST_OS == 'Linux' ]]; then
CUR=`pwd`

if [[ "$BUILD_TARGET" == "linux" ]]; then
if [[ $BUILD_ARCH == 'x64' ]]; then
docker run -t --rm -v ${CUR}:${CUR} ubuntu:12.04 bash -c "cd ${CUR}; $DIST_EXEC"
else
docker run -t --rm -v ${CUR}:${CUR} fibjs/${BUILD_TARGET}-build-env:${BUILD_ARCH} bash -c "cd ${CUR}; $DIST_EXEC"
fi
docker run -t --rm -v ${CUR}:${CUR} fibjs/${BUILD_TARGET}-build-env:${BUILD_ARCH} bash -c "cd ${CUR}; $DIST_EXEC"
else
docker run -t --rm -v ${CUR}:${CUR} fibjs/${BUILD_TARGET}-test-env:${BUILD_ARCH} bash -c "cd ${CUR}; $DIST_EXEC"
fi
Expand Down

0 comments on commit a0fdefa

Please sign in to comment.