Skip to content
Merged
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
17 changes: 5 additions & 12 deletions .github/workflows/asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,23 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v7
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme numpy
- name: Add C++ Problem Matcher
uses: ammaraskar/gcc-problem-matcher@0.2.0
- name: Install Dependencies
run: |
sudo apt-get -y install ninja-build
uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9
- name: Install mono
shell: bash
run: |
sudo apt-get -y install ca-certificates gnupg
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt-get -y update
sudo apt-get -y install mono-complete
sudo apt-get update
sudo apt-get install mono-complete
- name: Setup NuGet Credentials
shell: bash
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
with:
fetch-depth: 2
- name: Add Problem Matcher
uses: ammaraskar/gcc-problem-matcher@a141586609e2a558729b99a8c574c048f7f56204
uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9
- name: Install clang-format-19
run: |
sudo apt-get update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
- name: Add Problem Matcher
uses: ammaraskar/gcc-problem-matcher@a141586609e2a558729b99a8c574c048f7f56204
uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9
- name: Install clang-format-19
run: |
sudo apt-get update
Expand Down
28 changes: 13 additions & 15 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,35 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
cxx:
- g++-11
- clang++-14
- g++-13
- clang++-16
include:
- cxx: g++-11
cc: gcc-11
- cxx: clang++-14
cc: clang-14
- cxx: g++-13
cc: gcc-13
- cxx: clang++-16
cc: clang-16
runs-on: ${{matrix.os}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v7
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme numpy
- name: Add C++ Problem Matcher
uses: ammaraskar/gcc-problem-matcher@0.2.0
- name: Install Dependencies - 2
uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9
- name: Install mono
run: |
sudo apt-get -y install ninja-build
- name: Install Sphinx
run: |
sudo pip3 install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme numpy
sudo apt-get update
sudo apt-get install mono-complete
- name: Setup NuGet Credentials
shell: bash
run: |
Expand Down
25 changes: 6 additions & 19 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,29 @@ jobs:
fail-fast: false
matrix:
os:
- macos-14
- macos-15
- macos-26
include:
- os: macos-14
preset: ci-macos-arm64
- os: macos-15
- os: macos-26
preset: ci-macos-arm64
runs-on: ${{matrix.os}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
submodules: true
- name: Checkout vcpkg
run: |
git clone https://www.github.com/microsoft/vcpkg && cd vcpkg && ./bootstrap-vcpkg.sh
VCPKG_INSTALLATION_ROOT=${{github.workspace}}/vcpkg
echo "$VCPKG_INSTALLATION_ROOT" >> $GITHUB_PATH
echo "VCPKG_INSTALLATION_ROOT=$VCPKG_INSTALLATION_ROOT" >> "$GITHUB_ENV"
if: matrix.os == 'macos-14'
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v7
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme numpy
- name: Add C++ Problem Matcher
uses: ammaraskar/gcc-problem-matcher@0.2.0
uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9
- name: Install Dependencies
run: |
brew install ninja mono
- name: Install Sphinx
run: |
sudo pip3 install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme numpy
brew install mono
- name: Setup NuGet Credentials
shell: bash
run: |
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,11 @@ jobs:
runs-on: ${{matrix.os}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
submodules: true
- name: Add C++ Problem Matcher
uses: ammaraskar/msvc-problem-matcher@0.2.0
- name: Setup Build Environment
uses: ilammy/msvc-dev-cmd@v1.12.1
with:
vsversion: 2022
uses: ammaraskar/msvc-problem-matcher@541aa4360062d76d9620af6b8bd35cfa0c5ef19f
- name: Setup NuGet Credentials
shell: bash
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,18 @@ Result<> SharedFeatureFace::operator()()
// Grain Boundary Attribute Matrix
auto& faceFeatureAttrMat = m_DataStructure.getDataRefAs<AttributeMatrix>(m_InputValues->GrainBoundaryAttributeMatrixPath);
ShapeType tDims = {static_cast<usize>(index)};
// This line has a Wstringop-overflow warning starting in gcc 12.4 in release configuration
// This is a false positive that eventually disappears in gcc 15
// Likely related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335
// Minimum reproducible example: https://godbolt.org/z/qTr8hPo1e
#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 15 && (__GNUC__ > 12 || (__GNUC__ == 12 && __GNUC_MINOR__ >= 4))
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif
faceFeatureAttrMat.resizeTuples(tDims);
#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 15 && (__GNUC__ > 12 || (__GNUC__ == 12 && __GNUC_MINOR__ >= 4))
#pragma GCC diagnostic pop
#endif

auto& surfaceMeshFeatureFaceLabels = m_DataStructure.getDataAs<Int32Array>(m_InputValues->FeatureFaceLabelsArrayPath)->getDataStoreRef();
auto& surfaceMeshFeatureFaceNumTriangles = m_DataStructure.getDataAs<Int32Array>(m_InputValues->FeatureFaceNumTrianglesArrayPath)->getDataStoreRef();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ Result<> SingleWriteOutStl(WriteStlFile* filter, const fs::path& path, const IGe

if(filePtr == nullptr)
{
fclose(filePtr);
return {MakeWarningVoidResult(-27886, fmt::format("Error Opening STL File. Unable to create temp file at path '{}' for original file '{}'", path.string(), path.filename().string()))};
}

Expand Down Expand Up @@ -252,7 +251,6 @@ class MultiWriteStlFileImpl

if(filePtr == nullptr)
{
fclose(filePtr);
m_Filter->sendThreadSafeProgressMessage(
{MakeWarningVoidResult(-27876, fmt::format("Error Opening STL File. Unable to create temp file at path '{}' for original file '{}'", activePath.string(), activePath.filename().string()))});
return;
Expand Down
Loading