Fix casts for typescript-fetch enum keys not working on number-based … #1
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
name: Samples c libcurl client | |
on: | |
push: | |
paths: | |
- 'samples/client/petstore/c/**' | |
- 'samples/client/petstore/c-useJsonUnformatted/**' | |
pull_request: | |
paths: | |
- 'samples/client/petstore/c/**' | |
- 'samples/client/petstore/c-useJsonUnformatted/**' | |
jobs: | |
build: | |
name: Build c libcurl client | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
- 'samples/client/petstore/c/' | |
- 'samples/client/petstore/c-useJsonUnformatted/' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libssl-dev libcurl4-openssl-dev | |
- name: Build | |
working-directory: ${{ matrix.sample }} | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make |