Skip to content
Merged
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
27 changes: 27 additions & 0 deletions .github/workflows/samples-c-libcurl-client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Samples c libcurl client

on:
push:
paths:
- 'samples/client/petstore/c/**'
pull_request:
paths:
- 'samples/client/petstore/c/**'

jobs:
build:
name: Build c libcurl client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev libcurl4-openssl-dev
- name: Build
working-directory: "samples/client/petstore/c"
run: |
mkdir build
cd build
cmake ..
make