Skip to content

Commit

Permalink
Skip other tests for ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Nov 11, 2024
1 parent 95dd241 commit 372d9a2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/actions-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ jobs:
strategy:
matrix:
arch: ["x86-64", "arm64"]
args: ["", "-f"]
version: ["7.4", "7.5"]
steps:
- uses: actions/checkout@v3
Expand All @@ -411,8 +410,8 @@ jobs:
with:
environment_variables: AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS AWS_LC_GO_TEST_TIMEOUT
operating_system: openbsd
cpu_count: 4
memory: 16G
cpu_count: 3
memory: 12G
architecture: ${{ matrix.arch }}
version: '7.4'
shell: bash
Expand Down Expand Up @@ -447,7 +446,7 @@ jobs:
cd $(pwd)
export PATH="${HOME}/bin:${PATH}"
env
tests/ci/run_bsd_tests.sh ${{ matrix.args }}
tests/ci/run_bsd_tests.sh
EOF
gcc-4_8:
needs: [sanity-test-run]
Expand Down Expand Up @@ -549,8 +548,8 @@ jobs:
architecture: ${{ matrix.arch }}
version: ${{ matrix.version }}
shell: bash
memory: 16G
cpu_count: 4
memory: 12G
cpu_count: 3
run: |
sudo pkg install -y git gmake cmake go ninja
tests/ci/run_bsd_tests.sh
6 changes: 6 additions & 0 deletions tests/ci/run_bsd_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ source tests/ci/common_posix_setup.sh
echo "Testing AWS-LC shared library in release mode."
build_and_test -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1

if [ "$PLATFORM" != "amd64" ] && [ "$PLATFORM" != "x86_64" ]; then
# ARM64 platforms are tested via emulation, so the test durations exceed our 1 hour expectation
echo "Skipping further testing for $KERNEL_NAME $PLATFORM"
exit 0
fi

echo "Testing AWS-LC static library in release mode."
build_and_test -DCMAKE_BUILD_TYPE=Release

Expand Down

0 comments on commit 372d9a2

Please sign in to comment.