-
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.
[ADD] : add github actions for Win/Linux/Macos
- Loading branch information
Showing
4 changed files
with
74 additions
and
1 deletion.
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,25 @@ | ||
name: Linux | ||
|
||
on: | ||
push: | ||
branches: | ||
- DemoApp | ||
|
||
jobs: | ||
build_Linux_Ubuntu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: checkout submodules | ||
run : git submodule update --init --recursive | ||
- name: Install OpenGL lib / Requirement for Glfw3 | ||
run : sudo apt-get update && sudo apt-get install libgl1-mesa-dev libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev | ||
- name: configure | ||
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DPLUGIN_ENABLE_LCL_BROKER=ON | ||
- name: build | ||
run: cmake --build build | ||
- name: upload artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: CashMe_Linux_x32 | ||
path: bin/CashMe_Linux_x32 |
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,25 @@ | ||
name: Osx | ||
|
||
on: | ||
push: | ||
branches: | ||
- DemoApp | ||
|
||
jobs: | ||
build_Osx: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: checkout submodules | ||
run : git submodule update --init --recursive | ||
- name: Install OpenGL lib / Requirement for Glfw3 | ||
run : brew update | ||
- name: configure | ||
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DPLUGIN_ENABLE_LCL_BROKER=ON | ||
- name: build | ||
run: cmake --build build | ||
- name: upload artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: CashMe_Darwin_x32.app | ||
path: bin/CashMe_Darwin_x32.app |
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: Win | ||
|
||
on: | ||
push: | ||
branches: | ||
- DemoApp | ||
|
||
jobs: | ||
build_Win_latest: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: checkout submodules | ||
run : git submodule update --init --recursive | ||
- name: configure | ||
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DPLUGIN_ENABLE_LCL_BROKER=ON | ||
- name: build | ||
run: cmake --build build --config Release | ||
- name: upload artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: CashMe_Windows_x64 | ||
path: bin\CashMe_Windows_x64.exe |
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