Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Jul 12, 2022
1 parent 4ea0ef9 commit f0a0f06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.9
- run: python -m pip install --upgrade pip
- run: python -m pip install --upgrade pip wheel
- run: python -m pip install --prefer-binary coverage
- run: python -m pip install --prefer-binary -e .[test]
- run: coverage run -m pytest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- os: windows-latest
python-version: "3.10"
- os: macos-latest
python-version: "3.6"
python-version: "3.7"
- os: ubuntu-latest
python-version: "pypy-3.7"
fail-fast: false
Expand All @@ -29,6 +29,6 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip
- run: python -m pip install --upgrade pip wheel
- run: python -m pip install --prefer-binary -v -e .[test]
- run: python -m pytest
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ endif()
set(HEPMC3_ENABLE_ROOTIO OFF CACHE BOOL "" FORCE)
set(HEPMC3_ENABLE_PYTHON OFF CACHE BOOL "" FORCE)
set(HEPMC3_BUILD_STATIC_LIBS OFF CACHE BOOL "" FORCE)
set(HEPMC3_ENABLE_SEARCH OFF CACHE BOOL "" FORCE)
add_subdirectory(extern/HepMC3)

file(GLOB SOURCES "src/*.cpp")
Expand All @@ -32,7 +33,7 @@ pybind11_add_module(_core MODULE ${SOURCES})
target_link_libraries(_core PRIVATE HepMC3)

if(MSVC)
# target_compile_options(_core PRIVATE)
target_compile_options(_core PRIVATE /bigobj)
else()
# ignore warnings raised by HepMC3 code
target_compile_options(_core PRIVATE
Expand Down

0 comments on commit f0a0f06

Please sign in to comment.