-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for s2n_prelude.h Changes (#299)
- Loading branch information
Showing
13 changed files
with
55 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Detect changes to s2n_prelude.h to update our `Package.swift` and stay in sync with it. | ||
# See: https://github.com/awslabs/aws-crt-swift/pull/299 for updating the Package.swift. | ||
|
||
name: s2n_prelude.h Change Detector | ||
|
||
on: [push] | ||
|
||
jobs: | ||
check-for-changes: | ||
|
||
runs-on: ubuntu-24.04 # latest | ||
|
||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Check s2n_prelude.h | ||
run: | | ||
TMPFILE=$(mktemp) | ||
echo "116f1525acbc94c91b0ee2ea2af9fdef aws-common-runtime/s2n/utils/s2n_prelude.h" > $TMPFILE | ||
md5sum --check $TMPFILE | ||
# No further steps if successful | ||
|
||
- name: Echo fail | ||
if: failure() | ||
run: | | ||
echo "The aws-crt-swift has a hack to manually define macros which are defined in s2n_prelude.h in Package.Swift. | ||
This check will fail whenever s2n_prelude.h is updated by the S2N team. You should make sure that Package.Swift is updated accordingly | ||
with the s2n_prelude.h changes and then run `md5sum aws-common-runtime/s2n/utils/s2n_prelude.h` and update the value above." |
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
Submodule aws-c-common
updated
14 files
+8 −0 | .github/ISSUE_TEMPLATE/bug-report.yml | |
+32 −0 | .github/workflows/issue-regression-labeler.yml | |
+1 −1 | AWSCRTAndroidTestRunner/app/src/main/cpp/CMakeLists.txt | |
+3 −6 | CMakeLists.txt | |
+19 −20 | cmake/AwsCFlags.cmake | |
+6 −3 | cmake/AwsTestHarness.cmake | |
+1 −0 | include/aws/common/private/xml_parser_impl.h | |
+1 −7 | include/aws/common/ref_count.h | |
+34 −0 | include/aws/common/shutdown_types.h | |
+23 −17 | source/common.c | |
+10 −0 | source/xml_parser.c | |
+1 −0 | tests/CMakeLists.txt | |
+5 −6 | tests/memtrace_test.c | |
+36 −0 | tests/xml_parser_test.c |
Submodule aws-c-http
updated
9 files
+8 −0 | .github/ISSUE_TEMPLATE/bug-report.yml | |
+32 −0 | .github/workflows/issue-regression-labeler.yml | |
+1 −5 | CMakeLists.txt | |
+1 −1 | README.md | |
+8 −5 | include/aws/http/private/hpack.h | |
+2 −2 | source/h1_connection.c | |
+1 −1 | source/http.c | |
+1 −3 | tests/test_connection.c | |
+5 −10 | tests/test_connection_manager.c |
Submodule aws-c-io
updated
38 files
Submodule aws-c-sdkutils
updated
5 files
+8 −0 | .github/ISSUE_TEMPLATE/bug-report.yml | |
+32 −0 | .github/workflows/issue-regression-labeler.yml | |
+1 −5 | CMakeLists.txt | |
+2 −2 | README.md | |
+1 −1 | include/aws/sdkutils/private/endpoints_util.h |
Submodule aws-checksums
updated
10 files
+8 −0 | .github/ISSUE_TEMPLATE/bug-report.yml | |
+25 −0 | .github/workflows/ci.yml | |
+32 −0 | .github/workflows/issue-regression-labeler.yml | |
+3 −8 | CMakeLists.txt | |
+11 −1 | builder.json | |
+41 −0 | include/aws/checksums/private/crc_util.h | |
+576 −12 | source/crc64_sw.c | |
+8 −7 | source/crc_sw.c | |
+4 −1 | tests/crc64_test.c | |
+3 −2 | tests/crc_test.c |
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