forked from godotengine/godot-cpp
-
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.
updated file format to use unix line endings
- Loading branch information
Showing
1 changed file
with
106 additions
and
106 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 |
---|---|---|
@@ -1,106 +1,106 @@ | ||
name: Continuous Integration (cmake) | ||
on: [push, pull_request] | ||
|
||
env: | ||
# Only used for the cache key. Increment version to force clean build. | ||
GODOT_BASE_BRANCH: master | ||
|
||
concurrency: | ||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: ${{ matrix.icon }} ${{ matrix.platform }}(${{matrix.arch}}, ${{ matrix.compiler }} ${{ matrix.extra_label }}) | ||
runs-on: ${{ matrix.runner }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# runner: [ubuntu-20.04, windows-2019, macos-11] | ||
# platform`: [android, ios, linux, macos, web, windows] | ||
# arch: [arm32, arm64, ppc32, ppc64, rv64, wasm32, x86_32, x86_64] | ||
# target: [editor, release] | ||
# compiler: [gcc, clang, msvc, mingw] | ||
# build_type: [release, debug] | ||
# precision: [single, double] | ||
# icon: [π§πππ€ππ] | ||
include: | ||
- runner: ubuntu-20.04 | ||
icon: π§ | ||
platform: linux | ||
arch: x86_64 | ||
compiler: gcc | ||
- runner: ubuntu-20.04 | ||
icon: π§ | ||
platform: linux | ||
arch: x86_64 | ||
compiler: gcc | ||
extra_label: double | ||
extra_config: -DFLOAT_PRECISION:STRING=double | ||
- runner: windows-2019 | ||
icon: π | ||
platform: windows | ||
arch: x86_64 | ||
compiler: msvc | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Android dependencies | ||
if: ${{ matrix.platform == 'android' }} | ||
uses: nttld/setup-ndk@v1 | ||
with: | ||
ndk-version: r23c | ||
link-to-sdk: true | ||
|
||
- name: Web dependencies | ||
if: ${{ matrix.platform == 'web' }} | ||
uses: mymindstorm/setup-emsdk@v13 | ||
with: | ||
version: ${{env.EM_VERSION}} | ||
actions-cache-folder: ${{env.EM_CACHE_FOLDER}} | ||
|
||
- name: Setup MinGW for Windows/MinGW build | ||
if: ${{ matrix.compiler == 'mingw' }} | ||
uses: egor-tensin/setup-mingw@v2 | ||
with: | ||
version: 12.2.0 | ||
|
||
- name: Install dependencies | ||
if: ${{ matrix.runner == 'ubuntu-20.04' }} | ||
run: | | ||
sudo apt-get update -qq | ||
sudo apt-get install -qqq build-essential pkg-config cmake ninja-build | ||
- name: Configure godot-cpp (Linux) | ||
if: ${{ matrix.runner == 'ubuntu-20.04' }} | ||
run: | ||
cmake -DCMAKE_BUILD_TYPE=Release ${{ matrix.extra_config}} -GNinja . | ||
|
||
|
||
- name: Configure godot-cpp (Windows) | ||
if: ${{ matrix.runner == 'windows-2019' }} | ||
run: | ||
cmake -DCMAKE_BUILD_TYPE=Release ${{matrix.extra_config}} -G"Visual Studio 16 2019" . | ||
|
||
- name: Build godot-cpp | ||
run: | ||
cmake --build . -j $(nproc) --verbose | ||
|
||
|
||
- name: Configure godot-cpp/test (Linux) | ||
if: ${{ matrix.runner == 'ubuntu-20.04' }} | ||
run: | ||
cd test && cmake -DCMAKE_BUILD_TYPE=Release -DGODOT_HEADERS_PATH="../godot-headers" -DCPP_BINDINGS_PATH=".." -GNinja . | ||
|
||
- name: Configure godot-cpp/test (Windows) | ||
if: ${{ matrix.compiler == 'msvc' }} | ||
run: | ||
cd test && cmake -DCMAKE_BUILD_TYPE=Release -DGODOT_HEADERS_PATH="../godot-headers" -DCPP_BINDINGS_PATH=".." -G"Visual Studio 16 2019" . | ||
|
||
- name: Build godot-cpp/test | ||
run: | | ||
cmake --build . -j $(nproc) --verbose | ||
name: Continuous Integration (cmake) | ||
on: [push, pull_request] | ||
|
||
env: | ||
# Only used for the cache key. Increment version to force clean build. | ||
GODOT_BASE_BRANCH: master | ||
|
||
concurrency: | ||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: ${{ matrix.icon }} ${{ matrix.platform }}(${{matrix.arch}}, ${{ matrix.compiler }} ${{ matrix.extra_label }}) | ||
runs-on: ${{ matrix.runner }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# runner: [ubuntu-20.04, windows-2019, macos-11] | ||
# platform`: [android, ios, linux, macos, web, windows] | ||
# arch: [arm32, arm64, ppc32, ppc64, rv64, wasm32, x86_32, x86_64] | ||
# target: [editor, release] | ||
# compiler: [gcc, clang, msvc, mingw] | ||
# build_type: [release, debug] | ||
# precision: [single, double] | ||
# icon: [π§πππ€ππ] | ||
include: | ||
- runner: ubuntu-20.04 | ||
icon: π§ | ||
platform: linux | ||
arch: x86_64 | ||
compiler: gcc | ||
- runner: ubuntu-20.04 | ||
icon: π§ | ||
platform: linux | ||
arch: x86_64 | ||
compiler: gcc | ||
extra_label: double | ||
extra_config: -DFLOAT_PRECISION:STRING=double | ||
- runner: windows-2019 | ||
icon: π | ||
platform: windows | ||
arch: x86_64 | ||
compiler: msvc | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Android dependencies | ||
if: ${{ matrix.platform == 'android' }} | ||
uses: nttld/setup-ndk@v1 | ||
with: | ||
ndk-version: r23c | ||
link-to-sdk: true | ||
|
||
- name: Web dependencies | ||
if: ${{ matrix.platform == 'web' }} | ||
uses: mymindstorm/setup-emsdk@v13 | ||
with: | ||
version: ${{env.EM_VERSION}} | ||
actions-cache-folder: ${{env.EM_CACHE_FOLDER}} | ||
|
||
- name: Setup MinGW for Windows/MinGW build | ||
if: ${{ matrix.compiler == 'mingw' }} | ||
uses: egor-tensin/setup-mingw@v2 | ||
with: | ||
version: 12.2.0 | ||
|
||
- name: Install dependencies | ||
if: ${{ matrix.runner == 'ubuntu-20.04' }} | ||
run: | | ||
sudo apt-get update -qq | ||
sudo apt-get install -qqq build-essential pkg-config cmake ninja-build | ||
- name: Configure godot-cpp (Linux) | ||
if: ${{ matrix.runner == 'ubuntu-20.04' }} | ||
run: | ||
cmake -DCMAKE_BUILD_TYPE=Release ${{ matrix.extra_config}} -GNinja . | ||
|
||
|
||
- name: Configure godot-cpp (Windows) | ||
if: ${{ matrix.runner == 'windows-2019' }} | ||
run: | ||
cmake -DCMAKE_BUILD_TYPE=Release ${{matrix.extra_config}} -G"Visual Studio 16 2019" . | ||
|
||
- name: Build godot-cpp | ||
run: | ||
cmake --build . -j $(nproc) --verbose | ||
|
||
|
||
- name: Configure godot-cpp/test (Linux) | ||
if: ${{ matrix.runner == 'ubuntu-20.04' }} | ||
run: | ||
cd test && cmake -DCMAKE_BUILD_TYPE=Release -DGODOT_HEADERS_PATH="../godot-headers" -DCPP_BINDINGS_PATH=".." -GNinja . | ||
|
||
- name: Configure godot-cpp/test (Windows) | ||
if: ${{ matrix.compiler == 'msvc' }} | ||
run: | ||
cd test && cmake -DCMAKE_BUILD_TYPE=Release -DGODOT_HEADERS_PATH="../godot-headers" -DCPP_BINDINGS_PATH=".." -G"Visual Studio 16 2019" . | ||
|
||
- name: Build godot-cpp/test | ||
run: | | ||
cmake --build . -j $(nproc) --verbose |