From a3aecd3f4f3075d0ae81d772ea356aad41d34080 Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Wed, 20 Nov 2024 11:33:55 -0500 Subject: [PATCH] Add tests --- .github/workflows/misc-tests.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/misc-tests.yaml b/.github/workflows/misc-tests.yaml index 9e5253ea1b..ebfaa2037c 100644 --- a/.github/workflows/misc-tests.yaml +++ b/.github/workflows/misc-tests.yaml @@ -77,3 +77,34 @@ jobs: echo "Error: PR description does not contain the required license statement." exit 1 fi + path-has-spaces: + if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, windows-latest, macos-13, macos-14-xlarge ] + fips: + - "0" + - "1" + steps: + - if: ${{ matrix.os == 'windows-latest' }} + name: Install NASM + uses: ilammy/setup-nasm@v1.5.1 + - name: Checkout + uses: actions/checkout@v4 + with: + path: "path has spaces/aws-lc" + - if: ${{ matrix.os != 'windows-latest' }} + name: See directory + run: pwd + - name: Setup CMake + uses: threeal/cmake-action@v1.3.0 + with: + source-dir: 'path has spaces/aws-lc' + generator: Ninja + options: CMAKE_BUILD_TYPE=Release BUILD_SHARED_LIBS=1 + - name: Build Project + run: cmake --build ./build --target all + - name: Run tests + run: cmake --build ./build --target run_tests