-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
187 changed files
with
18,407 additions
and
3,723 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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
- 'main' | ||
|
||
env: | ||
BUILDER_VERSION: v0.9.43 | ||
BUILDER_VERSION: v0.9.62 | ||
BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net | ||
BUILDER_SOURCE: releases | ||
PACKAGE_NAME: aws-c-common | ||
|
@@ -125,7 +125,7 @@ jobs: | |
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --target windows-${{ matrix.arch }} --compiler msvc-16 | ||
windows-vc15: | ||
runs-on: windows-2022 # latest | ||
runs-on: windows-2019 # windows-2019 is last env with Visual Studio 2017 (v15.0) | ||
strategy: | ||
matrix: | ||
arch: [x86, x64] | ||
|
@@ -174,17 +174,26 @@ jobs: | |
echo "Starting to run AppVerifier on all tests found by CTest" | ||
python .\aws-c-common\scripts\appverifier_ctest.py --build_directory .\aws-c-common\build\aws-c-common | ||
osx: | ||
runs-on: macos-12 # latest | ||
macos-x64: | ||
runs-on: macos-14-large # latest | ||
steps: | ||
- name: Build ${{ env.PACKAGE_NAME }} + consumers | ||
run: | | ||
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" | ||
chmod a+x builder | ||
./builder build -p ${{ env.PACKAGE_NAME }} | ||
osx-no-cpu-extensions: | ||
runs-on: macos-12 # latest | ||
macos: | ||
runs-on: macos-14 # latest | ||
steps: | ||
- name: Build ${{ env.PACKAGE_NAME }} + consumers | ||
run: | | ||
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" | ||
chmod a+x builder | ||
./builder build -p ${{ env.PACKAGE_NAME }} | ||
macos-no-cpu-extensions: | ||
runs-on: macos-14 # latest | ||
steps: | ||
- name: Build ${{ env.PACKAGE_NAME }} + consumers | ||
run: | | ||
|
@@ -197,10 +206,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build ${{ env.PACKAGE_NAME }} + consumers | ||
uses: cross-platform-actions/action@v0.10.0 | ||
uses: cross-platform-actions/action@v0.20.0 | ||
with: | ||
operating_system: openbsd | ||
architecture: x86-64 | ||
version: '7.2' | ||
shell: bash | ||
run: | | ||
|
@@ -209,6 +217,23 @@ jobs: | |
chmod a+x builder | ||
./builder build -p ${{ env.PACKAGE_NAME }} | ||
freebsd: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Build ${{ env.PACKAGE_NAME }} + consumers | ||
uses: cross-platform-actions/[email protected] | ||
with: | ||
operating_system: freebsd | ||
version: '13.2' | ||
run: | | ||
sudo pkg install -y python3 devel/py-pip net/py-urllib3 cmake | ||
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz', 'builder')" | ||
chmod a+x builder | ||
./builder build -p ${{ env.PACKAGE_NAME }} | ||
cross_compile: | ||
name: Cross Compile ${{matrix.arch}} | ||
runs-on: ubuntu-20.04 # latest | ||
|
@@ -239,8 +264,8 @@ jobs: | |
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')" | ||
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --config Debug | ||
osx-debug: | ||
runs-on: macos-12 # latest | ||
macos-debug: | ||
runs-on: macos-14 # latest | ||
steps: | ||
- name: Build ${{ env.PACKAGE_NAME }} + consumers | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -5,15 +5,12 @@ on: [push] | |
jobs: | ||
clang-format: | ||
|
||
runs-on: ubuntu-20.04 # latest | ||
runs-on: ubuntu-24.04 # latest | ||
|
||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: clang-format lint | ||
uses: DoozyX/[email protected] | ||
with: | ||
# List of extensions to check | ||
extensions: c,h,inl | ||
source: 'source include tests verification' | ||
run: | | ||
./format-check.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: HandleStaleDiscussions | ||
on: | ||
schedule: | ||
- cron: '0 */4 * * *' | ||
discussion_comment: | ||
types: [created] | ||
|
||
jobs: | ||
handle-stale-discussions: | ||
name: Handle stale discussions | ||
runs-on: ubuntu-latest | ||
permissions: | ||
discussions: write | ||
steps: | ||
- name: Stale discussions action | ||
uses: aws-github-ops/handle-stale-discussions@v1 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
cadical-tag: latest | ||
cbmc-version: latest | ||
cbmc-viewer-version: latest | ||
kissat-tag: latest | ||
litani-version: latest | ||
# Use exact versions (instead of "latest") so we're not broken by surprise upgrades. | ||
cadical-tag: "rel-2.0.0" # tag of latest release: https://github.com/arminbiere/cadical/releases | ||
cbmc-version: "6.1.0" # semver of latest release: https://github.com/diffblue/cbmc/releases | ||
cbmc-viewer-version: "3.9" # semver of latest release: https://github.com/model-checking/cbmc-viewer/releases | ||
kissat-tag: "rel-3.1.1" # tag of latest release: https://github.com/arminbiere/kissat/releases | ||
litani-version: "1.29.0" # semver of latest release: https://github.com/awslabs/aws-build-accumulator/releases | ||
proofs-dir: verification/cbmc/proofs | ||
run-cbmc-proofs-command: ./run-cbmc-proofs.py |
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
Oops, something went wrong.