Skip to content

Commit cbd697f

Browse files
committed
size
1 parent e583e69 commit cbd697f

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

.builder/actions/crt_size_check.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def run(self, env):
1111
# Maximum package size (for current platform) in bytes
1212
# NOTE: if you increase this, you might also need to increase the
1313
# limit in continuous-delivery/pack.sh
14-
max_size = 8_400_000
14+
max_size = 9_000_000
1515
# size of current folder
1616
folder_size = 0
1717
# total size in bytes
@@ -74,4 +74,5 @@ def run(self, env):
7474

7575
print(f"Total NPM package file size: {total_size} bytes")
7676
if total_size > max_size:
77-
raise Exception(f'NPM package exceeds size limit of {max_size} bytes.')
77+
raise Exception(f'NPM package exceeds size limit of {
78+
max_size} bytes.')

.github/workflows/ci.yml

+21-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
image:
2929
- al2012-x64
3030
- al2-x64
31-
- manylinux2014-aarch64
3231
- manylinux2014-x64
3332
- fedora-34-x64
3433
- opensuse-leap
@@ -46,6 +45,27 @@ jobs:
4645
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
4746
./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ matrix.image }} build -p ${{ env.PACKAGE_NAME }}
4847
48+
49+
linux-compat-armv8:
50+
runs-on: codebuild-aws-crt-nodejs-arm64-${{ github.run_id }}-${{ github.run_attempt }}-arm-3.0-large
51+
strategy:
52+
fail-fast: false
53+
matrix:
54+
image:
55+
- manylinux2014-aarch64
56+
steps:
57+
- uses: aws-actions/configure-aws-credentials@v4
58+
with:
59+
role-to-assume: ${{ env.CRT_CI_ROLE }}
60+
aws-region: ${{ env.AWS_DEFAULT_REGION }}
61+
# We can't use the `uses: docker://image` version yet, GitHub lacks authentication for actions -> packages
62+
- name: Build ${{ env.PACKAGE_NAME }}
63+
run: |
64+
aws s3 cp s3://aws-crt-test-stuff/ci/${{ env.BUILDER_VERSION }}/linux-container-ci.sh ./linux-container-ci.sh && chmod a+x ./linux-container-ci.sh
65+
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
66+
./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ matrix.image }} build -p ${{ env.PACKAGE_NAME }}
67+
68+
4969
musl-linux:
5070
runs-on: ubuntu-24.04 # latest
5171
strategy:

0 commit comments

Comments
 (0)