-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ae8538
commit 1fb310a
Showing
3 changed files
with
20 additions
and
4 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 |
---|---|---|
|
@@ -17,8 +17,24 @@ jobs: | |
- name: Enable Developer Command Prompt | ||
uses: ilammy/[email protected] | ||
|
||
- name: Get latest CMake and ninja | ||
uses: lukka/get-cmake@latest | ||
- name: Install deps (Ubuntu) | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: sudo apt-get update && sudo apt-get -y install libpoco-dev ninja-build | ||
|
||
- run: echo "C:\apps\build-tools\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
if: startsWith(matrix.os, 'windows') | ||
|
||
- name: Install Build tools | ||
if: startsWith(matrix.os, 'windows') | ||
shell: cmake -P {0} | ||
run: | | ||
file(MAKE_DIRECTORY "C:/apps/build-tools/") | ||
file(DOWNLOAD https://cdn.anotherfoxguy.com/build-tools.zip "$ENV{TMP}/build-tools.zip" SHOW_PROGRESS) | ||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xzf "$ENV{TMP}/build-tools.zip" WORKING_DIRECTORY "C:/apps/build-tools/") | ||
- name: Install deps with conan | ||
if: startsWith(matrix.os, 'windows') | ||
run: conan install . | ||
|
||
- name: Configure | ||
run: cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DRORSERVER_WITH_ANGELSCRIPT=ON . | ||
|
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