Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/block-needs-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Block needs-review merges

on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]

permissions:
pull-requests: read

jobs:
gate:
uses: awslabs/aws-crt-builder/.github/workflows/block-needs-review-label.yml@main
41 changes: 41 additions & 0 deletions .github/workflows/check-abi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Check ABI compliance

on:
pull_request:
types: [opened, synchronize, reopened]

concurrency:
group: check-abi-${{ github.event.pull_request.number }}
cancel-in-progress: true

env:
PACKAGE_NAME: aws-c-s3
CRT_CI_ROLE: ${{ secrets.CRT_CI_ROLE_ARN }}
AWS_DEFAULT_REGION: us-east-1

permissions:
id-token: write
contents: read
pull-requests: write

jobs:
check-abi:
name: check-abi
runs-on: ubuntu-24.04
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ env.CRT_CI_ROLE }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check ABI
uses: awslabs/aws-crt-builder/.github/actions/check-abi@main
with:
lib-name: ${{ env.PACKAGE_NAME }}
builder-version: latest
builder-source: releases
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release

on:
workflow_dispatch:
inputs:
dry-run:
description: 'Compute and summarize the bump/version but do not commit, tag, or publish anything.'
required: false
default: 'false'

env:
PACKAGE_NAME: aws-c-s3
CRT_CI_ROLE: ${{ secrets.CRT_CI_ROLE_ARN }}
AWS_DEFAULT_REGION: us-east-1

permissions:
id-token: write
contents: write
pull-requests: read

jobs:
release:
name: release
runs-on: ubuntu-24.04
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ env.CRT_CI_ROLE }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Release
uses: awslabs/aws-crt-builder/.github/actions/auto-release@main
with:
lib-name: ${{ env.PACKAGE_NAME }}
dry-run: ${{ inputs.dry-run }}
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ aws_check_headers(${PROJECT_NAME} ${AWS_S3_ROOT_HEADERS})
aws_add_sanitizers(${PROJECT_NAME})

# We are not ABI stable yet
# TODO: switch to VERSION derived from the VERSION file (via aws_get_version) once SOVERSION is set explicitly, to avoid changing the SONAME.
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION 1.0.0)
set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION 0unstable)

Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.12.6
Loading