Skip to content

Commit

Permalink
remove unneeded things
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Jan 7, 2025
1 parent 7051bca commit 16e1f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions continuous-delivery/build-binaries-linux-musl-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ version: 0.2
phases:
install:
commands:
pre_build:
commands:
- export CC=gcc
build:
commands:
- mkdir linux-arm64-musl
- cd aws-crt-nodejs
- ./continuous-delivery/musl-linux-build.sh aws-crt-alpine-3.16-arm64 linux-aarch_64-musl
- ./continuous-delivery/generic-linux-build.sh aws-crt-alpine-3.16-arm64
- cp -r dist/bin/linux-arm64-musl/* ../linux-arm64-musl/

post_build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -ex

IMAGE_NAME=$1
shift
CLASSIFIER=$1
shift

# Pry the builder version this CRT is using out of ci.yml
BUILDER_VERSION=$(cat .github/workflows/ci.yml | grep 'BUILDER_VERSION:' | sed 's/\s*BUILDER_VERSION:\s*\(.*\)/\1/')
Expand All @@ -15,5 +13,5 @@ aws ecr get-login-password | docker login 123124136734.dkr.ecr.us-east-1.amazona
export DOCKER_IMAGE=123124136734.dkr.ecr.us-east-1.amazonaws.com/${IMAGE_NAME}:${BUILDER_VERSION}

export BRANCH_TAG=$(git describe --tags)
docker run --mount type=bind,src=$(pwd),dst=/root/aws-crt-nodejs --env CXXFLAGS --env AWS_CRT_ARCH $DOCKER_IMAGE --version=${BUILDER_VERSION} build -p aws-crt-nodejs --classifier ${CLASSIFIER} --branch ${BRANCH_TAG} run_tests=false
docker run --mount type=bind,src=$(pwd),dst=/root/aws-crt-nodejs --env CXXFLAGS $DOCKER_IMAGE --version=${BUILDER_VERSION} build -p aws-crt-nodejs --branch ${BRANCH_TAG} run_tests=false
docker container prune -f

0 comments on commit 16e1f42

Please sign in to comment.