-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflows: Quick, Medium, and Full Builds (#129)
* Windows: Full and Medium Builds * Disable tests on Windows. CMake minimum version 3.14 * Fix definitions for cmake * Fix CMake definitions in clang * Warning when can't build tests * Fix: fl::null in g++-12 * Documentation: building Catch2 * Fix: Fetch Catch2 if not found in system
- Loading branch information
Showing
8 changed files
with
156 additions
and
45 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
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,29 @@ | ||
name: Linux Medium Build | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_type: [ "release", "debug" ] | ||
use_cxx: [ "clang++-15", "g++-13" ] | ||
use_cpp98: [ "OFF", "ON" ] | ||
use_float: [ "OFF", "ON" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Building FuzzyLite | ||
working-directory: fuzzylite | ||
env: | ||
CXX: ${{ matrix.use_cxx }} | ||
run: | | ||
cmake -B build/${{ matrix.build_type }} -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DFL_CPP98=${{ matrix.use_cpp98 }} -DFL_USE_FLOAT=${{ matrix.use_float }} . | ||
cmake --build build/${{ matrix.build_type }} --parallel | ||
ctest --test-dir build/${{ matrix.build_type }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
name: FuzzyLite (Windows) | ||
name: Windows Full Build | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
branches: [ "build/*" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
name: Windows-VisualStudio-${{matrix.platform}} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [ 'x64', 'win32' ] | ||
platform: [ "x64", "win32" ] | ||
build_type: [ "release", "debug" ] | ||
use_cpp98: [ "OFF", "ON" ] | ||
use_float: [ "OFF", "ON" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: Building FuzzyLite | ||
working-directory: fuzzylite | ||
shell: cmd | ||
env: | ||
FL_CPP98: ${{ matrix.use_cpp98 }} | ||
FL_USE_FLOAT: ${{ matrix.use_float }} | ||
FL_BUILD_TESTS: "OFF" | ||
run: | | ||
cmake -B build/${{ matrix.build_type }} -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} . | ||
cmake -B build/${{ matrix.build_type }} -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DFL_CPP98=${{ matrix.use_cpp98 }} -DFL_USE_FLOAT=${{ matrix.use_float }} -DFL_BUILD_TESTS=OFF . | ||
cmake --build build/${{ matrix.build_type }} --parallel | ||
ctest --test-dir build/${{ matrix.build_type }} |
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,28 @@ | ||
name: Windows Medium Build | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_type: [ "release", "debug" ] | ||
platform: [ "x64", "win32" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: Building FuzzyLite | ||
working-directory: fuzzylite | ||
shell: cmd | ||
run: | | ||
cmake -B build/${{ matrix.build_type }} -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DFL_BUILD_TESTS=OFF . | ||
cmake --build build/${{ matrix.build_type }} --parallel | ||
ctest --test-dir build/${{ matrix.build_type }} |
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