Skip to content

Ammending meson.build files to fix linking issue - issue38 #19

Ammending meson.build files to fix linking issue - issue38

Ammending meson.build files to fix linking issue - issue38 #19

Workflow file for this run

name: C/C++ CI
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Build:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- name: Install dependencies (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo apt-get update
# remove libunwind-*-dev from the runner to avoid conflicts with a dependency of libgstreamer1.0-dev
sudo apt-get remove -y libunwind-14-dev libunwind-13-dev
sudo apt-get install -y curl libcurl4-openssl-dev cmake gstreamer1.0-plugins-base libgstreamer1.0-dev python3-pip python3-setuptools
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew update
# install python 3.11 explicitly to avoid it failing to overwrite the pre-installed python when it's pulled in as a dependency
brew install --overwrite python@3.11
brew install --overwrite gstreamer
- uses: actions/checkout@v3
- run: pip3 install meson ninja
- run: 'git clone --recurse-submodules --depth 1 https://github.com/aws/aws-sdk-cpp.git -b 1.10.30'
- run: cmake -DBUILD_ONLY="s3;sts" aws-sdk-cpp
- run: make -j 4
- run: sudo make install
- run: meson build
- run: ninja -C build
- run: 'export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH'
- run: ninja -C build test