Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #233

Closed
wants to merge 6 commits into from
Closed

test #233

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 0 additions & 72 deletions .github/workflows/analysis.yml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,103 +18,6 @@ jobs:
strategy:
matrix:
config:
- {
name: Ubuntu GCC Release Shared,
os: ubuntu-latest,
cc: gcc,
cxx: g++,
build-type: Release,
shared: ON,
}
- {
name: Ubuntu GCC Debug Static,
os: ubuntu-latest,
cc: gcc,
cxx: g++,
build-type: Debug,
shared: OFF,
}
- {
name: Ubuntu Clang Release Shared,
os: ubuntu-latest,
cc: clang,
cxx: clang++,
build-type: Release,
shared: ON,
}
- {
name: Ubuntu Clang Debug Static,
os: ubuntu-latest,
cc: clang,
cxx: clang++,
build-type: Debug,
shared: OFF,
}
# TODO: remove version specifiers after macos-latest upgrades to version 13
- {
name: macOS GCC Release Shared,
os: macos-13,
cc: gcc,
cxx: g++,
build-type: Release,
shared: ON,
}
- {
name: macOS GCC Debug Static,
os: macos-13,
cc: gcc,
cxx: g++,
build-type: Debug,
shared: OFF,
}
- {
name: macOS Clang Release Shared,
os: macos-13,
cc: clang,
cxx: clang++,
build-type: Release,
shared: ON,
}
- {
name: macOS Clang Debug Static,
os: macos-13,
cc: clang,
cxx: clang++,
build-type: Debug,
shared: OFF,
}
- {
name: Windows GCC Release Shared,
os: windows-latest,
cc: gcc,
cxx: g++,
build-type: Release,
shared: ON,
}
- {
name: Windows GCC Debug Static,
os: windows-latest,
cc: gcc,
cxx: g++,
build-type: Debug,
shared: OFF,
}
- {
name: Windows Clang Release Shared,
os: windows-latest,
cc: clang,
cxx: clang++,
build-type: Release,
shared: ON,
}
- {
name: Windows Clang Debug Static,
os: windows-latest,
cc: clang,
cxx: clang++,
build-type: Debug,
shared: OFF,
}
- {
name: Windows MSVC Release Shared,
os: windows-latest,
Expand All @@ -123,14 +26,6 @@ jobs:
build-type: Release,
shared: ON,
}
- {
name: Windows MSVC Debug Static,
os: windows-latest,
cc: msvc,
cxx: msvc,
build-type: Debug,
shared: OFF,
}

steps:
- name: Checkout
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/coverage.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/sanitizer.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/style.yml

This file was deleted.

6 changes: 6 additions & 0 deletions include/fintamath/core/CoreUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
#include <concepts>
#include <functional>

#ifdef WIN32
#define FINTAMATH_API __declspec(dllexport)
#else
#define FINTAMATH_API
#endif

namespace fintamath {

template <typename From, typename To>
Expand Down
12 changes: 6 additions & 6 deletions include/fintamath/core/MathObjectBody.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <memory>

#include "fintamath/core/CoreUtils.hpp"
#include "fintamath/core/MathObjectClass.hpp"
#include "fintamath/core/Parser.hpp"

Expand All @@ -19,7 +20,10 @@ public: \
private: \
using Class##Parser = detail::Parser<std::unique_ptr<Class>>; \
\
static Class##Parser &getParser(); \
FINTAMATH_API static Class##Parser &getParser() { \
static Class##Parser parser; \
return parser; \
} \
\
public: \
static auto parse(std::string str) { \
Expand All @@ -38,8 +42,4 @@ public: \
\
private:

#define FINTAMATH_PARENT_CLASS_IMPLEMENTATION(Class) \
Class::Class##Parser &Class::getParser() { \
static Class##Parser parser; \
return parser; \
}
#define FINTAMATH_PARENT_CLASS_IMPLEMENTATION(Class)
Loading
Loading