* 1
This commit is contained in:
-33
@@ -1,33 +0,0 @@
|
||||
name: Mac OS
|
||||
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: configure
|
||||
run: |
|
||||
cmake -B build/debug -D CMAKE_BUILD_TYPE:STRING=Debug "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON
|
||||
cmake -B build/release -D CMAKE_BUILD_TYPE:STRING=Release "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON
|
||||
- name: build
|
||||
run: |
|
||||
cmake --build build/debug --config Debug
|
||||
cmake --build build/release --config Release
|
||||
- name: test
|
||||
run: |
|
||||
cd build/debug
|
||||
ctest --build-config Debug
|
||||
cd ../..
|
||||
cd build/release
|
||||
ctest --build-config Release
|
||||
cd ../..
|
||||
-33
@@ -1,33 +0,0 @@
|
||||
name: Ubuntu
|
||||
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: configure
|
||||
run: |
|
||||
cmake -B build/debug -D CMAKE_BUILD_TYPE:STRING=Debug "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON
|
||||
cmake -B build/release -D CMAKE_BUILD_TYPE:STRING=Release "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON
|
||||
- name: build
|
||||
run: |
|
||||
cmake --build build/debug --config Debug
|
||||
cmake --build build/release --config Release
|
||||
- name: test
|
||||
run: |
|
||||
cd build/debug
|
||||
ctest --build-config Debug
|
||||
cd ../..
|
||||
cd build/release
|
||||
ctest --build-config Release
|
||||
cd ../..
|
||||
-38
@@ -1,38 +0,0 @@
|
||||
name: Windows
|
||||
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: true
|
||||
UseMultiToolTask: true
|
||||
EnforceProcessCountAcrossBuilds: true
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: configure
|
||||
run: |
|
||||
$env:MultiProcMaxCount = ((Get-CimInstance -ClassName Win32_Processor | Measure-Object -Property NumberOfLogicalProcessors -Sum).Sum + 1)
|
||||
cmake -B build/debug -D CMAKE_BUILD_TYPE:STRING=Debug "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=ON -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON
|
||||
cmake -B build/release -D CMAKE_BUILD_TYPE:STRING=Release "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=ON -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON
|
||||
- name: build
|
||||
run: |
|
||||
$env:MultiProcMaxCount = ((Get-CimInstance -ClassName Win32_Processor | Measure-Object -Property NumberOfLogicalProcessors -Sum).Sum + 1)
|
||||
cmake --build build/debug --config Debug
|
||||
cmake --build build/release --config Release
|
||||
- name: test
|
||||
run: |
|
||||
cd build/debug
|
||||
ctest --build-config Debug
|
||||
cd ../..
|
||||
cd build/release
|
||||
ctest --build-config Release
|
||||
cd ../..
|
||||
Reference in New Issue
Block a user