Skip to content

Commit

Permalink
parameterize tests into docker run command
Browse files Browse the repository at this point in the history
  • Loading branch information
kexgaber committed Aug 9, 2024
1 parent 8ce6856 commit 26f2d99
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 23 deletions.
4 changes: 1 addition & 3 deletions .github/docker_images/alpine-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ WORKDIR /awslc
ENV CC=${CC}
ENV CXX=${CXX}

COPY entry.sh /

ENTRYPOINT ["/entry.sh"]
ENTRYPOINT ["/bin/bash", "-c"]
18 changes: 0 additions & 18 deletions .github/docker_images/alpine-linux/entry.sh

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/actions-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,10 @@ jobs:
strategy:
fail-fast: false
matrix:
fips: [0, 1]
tests: [
/awslc/tests/ci/run_fips_tests.sh,
/awslc/tests/ci/run_posix_tests.sh
]
compiler: [
--build-arg CC=clang --build-arg CXX=clang++,
--build-arg CC=gcc --build-arg CXX=g++
Expand All @@ -484,7 +487,7 @@ jobs:
- name: Run tests
run: |
docker run -v "${{ github.workspace }}:/awslc" \
alpine_linux ${{ matrix.fips }}
alpine_linux ${{ matrix.tests }}
# TODO: Investigate sudden hanging tests and failures in GHA runners (P114059413)
# MSVC-SDE-32-bit:
Expand Down

0 comments on commit 26f2d99

Please sign in to comment.