Skip to content

Commit 865e739

Browse files
committed
add simple build test
1 parent 00fb461 commit 865e739

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/simple-build.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: simple-build
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
branches:
7+
- main
8+
9+
jobs:
10+
simple-build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: dependencies
14+
run: |
15+
sudo apt-get update
16+
sudo apt-get install zlib1g-dev libssl-dev libcurl4-openssl-dev
17+
- name: checkout
18+
uses: actions/checkout@v2
19+
with:
20+
path: aws-sdk-cpp
21+
submodules: recursive
22+
- name: configure
23+
run: |
24+
cd aws-sdk-cpp
25+
mkdir build
26+
cd build
27+
cmake -DBUILD_ONLY="s3;s3-crt;dynamodb;logs;kms;sqs;firehose;kinesis;sns;mediastore;mediastore-data;monitoring;secretsmanager;athena;kafka;cognito-idp;rds;ecs" ..
28+
- name: build
29+
run: |
30+
cd aws-sdk-cpp/build
31+
cmake --build .
32+

0 commit comments

Comments
 (0)