-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix perl handling of paths w/ spaces (#2005)
- Loading branch information
Showing
8 changed files
with
60 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,3 +77,45 @@ 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-14-xlarge ] | ||
steps: | ||
- if: ${{ matrix.os == 'windows-latest' }} | ||
name: Install NASM | ||
uses: ilammy/[email protected] | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '>=1.18' | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
path: "path has spaces/aws-lc" | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- name: Setup CMake | ||
uses: threeal/[email protected] | ||
with: | ||
source-dir: 'path has spaces/aws-lc' | ||
build-dir: 'path has spaces/build' | ||
generator: Ninja | ||
- name: Build Project | ||
run: cmake --build "path has spaces/build" --target all | ||
- name: Run tests | ||
run: cmake --build "path has spaces/build" --target run_tests | ||
- name: Setup CMake FIPS | ||
uses: threeal/[email protected] | ||
with: | ||
source-dir: 'path has spaces/aws-lc' | ||
build-dir: 'path has spaces/build-fips' | ||
generator: Ninja | ||
options: CMAKE_BUILD_TYPE=Release FIPS=1 BUILD_SHARED_LIBS=${{ (matrix.os == 'ubuntu-latest' && '0') || '1' }} | ||
- name: Build Project | ||
run: cmake --build "path has spaces/build-fips" --target all | ||
# TODO: Fix the FIPS ACVP tests on Windows to handle spaces in the path | ||
- if: ${{ matrix.os != 'windows-latest' }} | ||
name: Run tests | ||
run: cmake --build "path has spaces/build-fips" --target run_tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,8 @@ jobs: | |
uses: ilammy/[email protected] | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
path: "path has spaces/aws-lc" | ||
- name: Setup MinGW | ||
uses: egor-tensin/[email protected] | ||
id: setup_mingw | ||
|
@@ -25,6 +27,8 @@ jobs: | |
uses: threeal/[email protected] | ||
with: | ||
generator: Ninja | ||
source-dir: 'path has spaces/aws-lc' | ||
build-dir: 'path has spaces/build' | ||
c-compiler: ${{ steps.setup_mingw.outputs.gcc }} | ||
cxx-compiler: ${{ steps.setup_mingw.outputs.gxx }} | ||
options: | | ||
|
@@ -37,9 +41,9 @@ jobs: | |
CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ | ||
CMAKE_BUILD_TYPE=Release \ | ||
- name: Build Project | ||
run: cmake --build ./build --target all | ||
run: cmake --build "path has spaces/build" --target all | ||
- name: Run tests | ||
run: cmake --build ./build --target run_tests | ||
run: cmake --build "path has spaces/build" --target run_tests | ||
clang: | ||
if: github.repository_owner == 'aws' | ||
runs-on: windows-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters