Skip to content
Closed
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
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/buid-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,12 @@ jobs:
name: Install Python
with:
python-version: ${{env.Python_Version}}
- name: Python Cache Key
shell: bash
run: |
echo $(which python) > /tmp/python_version.txt
- name: Get pip cache dir
shell: bash
id: pip-cache
run: |
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: Pip-Tools
shell: bash
run: |
python -m pip install pip-tools
pip-compile
pip-compile dev-requirements.in
- name: pip cache
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('/tmp/python_version.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Update
run: |
pip install --upgrade pip wheel setuptools build cmake ninja
Expand Down
39 changes: 13 additions & 26 deletions .github/workflows/build_and_upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
fail-fast: false
matrix:
include:
- artifact: wheel-linux_x86_64_python38
python: /opt/python/cp38-cp38/bin/python
container: ghcr.io/openjij/openjij-builder-minimum-manylinux_2_28_x86_64:latest
- artifact: wheel-linux_x86_64_python39
python: /opt/python/cp39-cp39/bin/python
container: ghcr.io/openjij/openjij-builder-minimum-manylinux_2_28_x86_64:latest
Expand All @@ -54,6 +51,9 @@ jobs:
- artifact: wheel-linux_x86_64_python312
python: /opt/python/cp312-cp312/bin/python
container: ghcr.io/openjij/openjij-builder-minimum-manylinux_2_28_x86_64:latest
- artifact: wheel-linux_x86_64_python313
python: /opt/python/cp313-cp313/bin/python
container: ghcr.io/openjij/openjij-builder-minimum-manylinux_2_28_x86_64:latest

steps:
- uses: actions/checkout@v4
Expand All @@ -71,17 +71,6 @@ jobs:
${{matrix.python}} -m pip install pip-tools
${{matrix.python}} -m piptools compile setup.cfg
${{matrix.python}} -m piptools compile build-requirements.in
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
/var/cache/dnf/
key: ${{ runner.os }}-intel-${{ hashFiles('python_version.txt') }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('build-requirements.txt') }}
restore-keys: |
${{ runner.os }}-intel-${{ hashFiles('python_version.txt') }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('build-requirements.txt') }}
${{ runner.os }}-intel-${{ hashFiles('python_version.txt') }}-${{ hashFiles('requirements.txt') }}
${{ runner.os }}-intel-${{ hashFiles('python_version.txt') }}
${{ runner.os }}-intel-
- name: Install Dependencies
shell: bash
run: |
Expand Down Expand Up @@ -140,10 +129,6 @@ jobs:
fail-fast: false
matrix:
include:
- artifact: wheel-linux_aarch64_python38
os: ubuntu-latest
arch: aarch64
CIBW_BUILD: cp38-manylinux_aarch64
- artifact: wheel-linux_aarch64_python39
os: ubuntu-latest
arch: aarch64
Expand All @@ -160,6 +145,10 @@ jobs:
os: ubuntu-latest
arch: aarch64
CIBW_BUILD: cp312-manylinux_aarch64
- artifact: wheel-linux_aarch64_python313
os: ubuntu-latest
arch: aarch64
CIBW_BUILD: cp313-manylinux_aarch64
steps:
- uses: actions/checkout@v4
- name: Set up QEME
Expand All @@ -175,7 +164,6 @@ jobs:
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_BUILD: ${{matrix.CIBW_BUILD}}
CIBW_SKIP: "cp313-*"
CIBW_ENVIRONMENT: ""
CIBW_PLATFORM: linux
CIBW_ARCHS: ${{matrix.arch}}
Expand All @@ -189,7 +177,7 @@ jobs:
CIBW_BEFORE_BUILD_LINUX: >
source scl_source enable gcc-toolset-11 &&
pip install 'pybind11<3' cmake ninja
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8,<3.13"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.14"
- uses: actions/upload-artifact@v4
with:
name: ${{matrix.artifact}}
Expand All @@ -216,10 +204,10 @@ jobs:
- name: Build wheels on macos x86_64
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_SKIP: "cp313-* pp*"
CIBW_SKIP: "pp*"
CIBW_PLATFORM: macos
CIBW_ARCHS: x86_64
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8,<3.13"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.14"
CIBW_ENVIRONMENT: >
MACOSX_DEPLOYMENT_TARGET=${{ matrix.MACOSX_DEPLOYMENT_TARGET }}
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -248,10 +236,10 @@ jobs:
- name: Build wheels on macos arm64
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_SKIP: "cp313-* pp*"
CIBW_SKIP: "pp*"
CIBW_PLATFORM: macos
CIBW_ARCHS: arm64
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8,<3.13"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.14"
CIBW_ENVIRONMENT: "MACOSX_DEPLOYMENT_TARGET=${{ matrix.MACOSX_DEPLOYMENT_TARGET }}"
- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -307,11 +295,10 @@ jobs:
- name: Build wheels on ${{ matrix.CIBW_PLATFORM }} ${{matrix.arch}}
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_SKIP: "cp313-*"
CIBW_ENVIRONMENT: ${{ matrix.CIBW_ENVIRONMENT }}
CIBW_PLATFORM: ${{ matrix.CIBW_PLATFORM }}
CIBW_ARCHS: ${{matrix.arch}}
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8,<3.13"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.14"

- uses: actions/upload-artifact@v4
with:
Expand Down
65 changes: 0 additions & 65 deletions .github/workflows/ci-test-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,6 @@ jobs:
ls C:/vcpkg
MSBuild.exe -version > msbuild_version.txt
cat msbuild_version.txt
- name: Cache vcpkg
uses: actions/cache@v4
if: ${{ matrix.os == 'windows-latest'}}
with:
path: |
C:/Users/runneradmin/AppData/Local/vcpkg/archives
key: ${{ matrix.os }}-vcpkg-${{ hashFiles('msbuild_version.txt') }}
restore-keys: |
${{ matrix.os }}-vcpkg-${{ hashFiles('msbuild_version.txt') }}
${{ matrix.os }}-vcpkg
# C:/vcpkg/installed
- name: Install Dep on windows
if: ${{ matrix.os == 'windows-latest'}}
shell: powershell
Expand All @@ -83,22 +72,10 @@ jobs:
vcpkg --triplet x64-windows-static install nlohmann-json
vcpkg --triplet x64-windows install nlohmann-json
vcpkg integrate install
# vcpkg --triplet x64-windows-static install openblas
- name: Install CMake
run: |
pip install cmake
cmake --version
- name: sccache
uses: hendrikmuhs/ccache-action@v1.2
with:
verbose: 2
variant: sccache
max-size: 1G
key: ${{ matrix.os }}-cpp-sccache-${{ hashFiles('**/CMakeLists.txt') }}-${{ env.RAND }}
restore-keys: |
${{ matrix.os }}-cpp-sccache-${{ hashFiles('**/CMakeLists.txt') }}-${{ env.RAND }}
${{ matrix.os }}-cpp-sccache-${{ hashFiles('**/CMakeLists.txt') }}
${{ matrix.os }}-cpp-sccache
- name: Prepare
shell: bash
run: mkdir build
Expand All @@ -108,8 +85,6 @@ jobs:
run: >
cmake
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-DENABLE_COVERAGE=On
-S .
-B build
Expand All @@ -119,8 +94,6 @@ jobs:
run: >
cmake
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-S .
-B build
- name: CMake Configure
Expand All @@ -129,8 +102,6 @@ jobs:
run: >
cmake
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
-S .
-B build
Expand All @@ -140,17 +111,6 @@ jobs:
cmake
--build build
--parallel
- name: CTest Help
shell: bash
working-directory: build
run: |
ctest --help
#- name: Run cimod_test
# if: ${{ matrix.os == 'windows-latest'}}
# shell: bash
# working-directory: build
# run: |
# ./tests/Debug/cimod_test.exe
- name: CMake Test
shell: bash
working-directory: build
Expand All @@ -159,31 +119,6 @@ jobs:
--extra-verbose
--parallel
--schedule-random
# TODO: Skip as currently (2025/2/27) it is not working
#- name: Run gcov
# if: ${{ matrix.os == 'ubuntu-latest'}}
# shell: bash
# working-directory: build
# run: |
# gcov --object-directory ./tests/CMakeFiles/openjij_test.dir -p -l -b ./tests/CMakeFiles/cxxjij_test.dir/cxxtest.cpp.gcda
# TODO: Skip as currently (2025/2/27) it is not working
#- name: Run gcov
# if: ${{ matrix.os == 'ubuntu-latest'}}
# shell: bash
# run: |
# gcov --object-directory ./build/tests/CMakeFiles/openjij_test.dir -p -l -b ./build/tests/CMakeFiles/cxxjij_test.dir/cxxtest.cpp.gcda
#- name: Run gcov
# if: ${{ matrix.os == 'ubuntu-latest'}}
# shell: bash
# run: |
# cd build/tests/CMakeFiles/cxxjij_test.dir
# gcov --object-directory ./ -p -l -b cxxtest.cpp.gcda
- name: du -a
shell: bash
if: always()
run: |
cd build
du -a
- uses: codecov/codecov-action@v5
if: ${{ matrix.os == 'ubuntu-latest'}}
continue-on-error: true
Expand Down
Loading
Loading