forked from apple/HomeKitADK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Seperated CI jobs into several YAML files
Signed-off-by: Clovis Durand <[email protected]>
- Loading branch information
1 parent
e7de27e
commit a11a8eb
Showing
4 changed files
with
62 additions
and
23 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,16 @@ | ||
name: Lint code | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
linter: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Lint shell scripts | ||
run: ./Tools/linters/shlint.sh | ||
|
||
- name: Lint source code | ||
run: ./Tools/linters/clint.sh |
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,17 @@ | ||
name: Linux CI | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
linux-unit-test: | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Linux debug build | ||
run: make TARGET=Linux all | ||
|
||
- name: Linux release build | ||
run: make TARGET=Linux BUILD_TYPE=Release all |
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,29 @@ | ||
name: Linux CI (No Docker) | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
docker-unit-test: | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Installing dependencies | ||
# These were taken from Build/Docker/Dockerfile | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y \ | ||
clang \ | ||
libavahi-compat-libdnssd-dev \ | ||
libssl-dev \ | ||
make | ||
sudo apt-get clean | ||
sudo rm -rf /var/lib/apt/lists/* | ||
- name: Linux debug build | ||
run: make TARGET=Linux DOCKER=0 all | ||
|
||
- name: Linux release build | ||
run: make TARGET=Linux DOCKER=0 BUILD_TYPE=Release all |
This file was deleted.
Oops, something went wrong.