Skip to content

Commit

Permalink
Update c-cpp.yml to add macos-latest build runner
Browse files Browse the repository at this point in the history
  • Loading branch information
smthsm committed Jul 12, 2023
1 parent 84df9cd commit e9a3609
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- name: Install dependencies (Ubuntu)
if: runner.os == 'Linux'
Expand All @@ -21,6 +22,13 @@ jobs:
# 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'
Expand Down

0 comments on commit e9a3609

Please sign in to comment.