-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: added Github Actions build workflow
- Loading branch information
1 parent
2e951f0
commit 6b8e574
Showing
4 changed files
with
66 additions
and
8 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,55 @@ | ||
name: build | ||
|
||
on: [push] | ||
|
||
jobs: | ||
linux_clang6: | ||
name: "Linux Clang6" | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
- run: ./.travis/linux/run-container.sh 6 | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: upload/* | ||
|
||
linux_clang8: | ||
name: "Linux Clang8" | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
- run: ./.travis/linux/run-container.sh 8 | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: upload/* | ||
|
||
android: | ||
name: "Android" | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
- run: ./.travis/android/run-container.sh | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: upload/* | ||
|
||
macos: | ||
name: "macOS" | ||
runs-on: macOS-10.15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
- run: ./.travis/macos/install-dependencies.sh | ||
- run: ./.travis/macos/build.sh | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: upload/* | ||
|
||
# TODO: Add Windows |
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
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
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