-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update c-cpp.yml to add macos-latest build runner
- Loading branch information
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ jobs: | |
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
steps: | ||
- name: Install dependencies (Ubuntu) | ||
if: runner.os == 'Linux' | ||
|
@@ -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 [email protected] | ||
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' | ||
|