-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from awslabs/github-actions
Use github actions for OSX
- Loading branch information
Showing
2 changed files
with
28 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
OSX: | ||
|
||
runs-on: macOS-10.14 | ||
|
||
steps: | ||
- name: Checkout Source | ||
uses: actions/checkout@v1 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
brew install llvm | ||
export PATH=$(brew --prefix llvm)/bin:$PATH | ||
- name: Build and test | ||
run: | | ||
export CODEBUILD_SRC_DIR=$(pwd) | ||
python3 -c "from urllib.request import urlretrieve; urlretrieve('https://raw.githubusercontent.com/awslabs/aws-c-common/master/codebuild/builder.py', 'builder.py')" | ||
python3 builder.py build macos-default-default-macos-x64 |
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