diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 4ce80d872df7b6f..000000000000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,9 +0,0 @@ -## CPython Mirror - -https://github.com/python/cpython is a cpython mirror repository. Pull requests -are not accepted on this repo and will be automatically closed. - -### Submit patches at https://bugs.python.org - -For additional information about contributing to CPython, see the -[developer's guide](https://docs.python.org/devguide/#contributing). diff --git a/.github/appveyor.yml b/.github/appveyor.yml deleted file mode 100644 index 3e0f588a2892e89..000000000000000 --- a/.github/appveyor.yml +++ /dev/null @@ -1,38 +0,0 @@ -version: 3.6build{build} -clone_depth: 5 -branches: - only: - - master - - /\d\.\d/ - - buildbot-custom -cache: - - externals -> PCbuild\* -before_build: - - ps: |+ - if ($env:APPVEYOR_RE_BUILD) { - echo 'Doing full build due to re-build request.' - } elseif (!$env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) { - echo 'Not a PR, doing full build.' - } else { - git fetch -q origin +refs/heads/$env:APPVEYOR_REPO_BRANCH - $mergebase = git merge-base HEAD FETCH_HEAD - $changes = git diff --name-only HEAD $mergebase | grep -vE '(\.rst$)|(^Doc)|(^Misc)' - If (!$changes) { - echo 'Only docs were updated, stopping build process.' - Exit-AppveyorBuild - } else { - echo 'Doing full build due to non-doc changes in these files:' - echo $changes - } - } - - -build_script: - - cmd: PCbuild\build.bat -e - - cmd: PCbuild\win32\python.exe -m test.pythoninfo -test_script: - - cmd: PCbuild\rt.bat -q -uall -u-cpu -u-largefile -rwW --slowest --timeout=1200 -j0 -environment: - HOST_PYTHON: C:\Python36\python.exe -image: - - Visual Studio 2015 diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index ea504f48672eac0..000000000000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,30 +0,0 @@ -codecov: - strict_yaml_branch: master - notify: - require_ci_to_pass: true -comment: off -ignore: - - "Doc/**/*" - - "Misc/**/*" - - "Mac/**/*" - - "PC/**/*" - - "PCbuild/**/*" - - "Tools/**/*" - - "Grammar/*" -coverage: - precision: 2 - range: 70...90 - round: down - status: - changes: off - project: off - patch: off -parsers: - gcov: - branch_detection: - conditional: true - loop: true - macro: false - method: false - javascript: - enable_partials: false diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000000000..47262c3f5dec707 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,60 @@ +name: Build and Test + +on: + push: + branches: + - 'opensuse_3.6' + pull_request: + branches: + - 'opensuse_3.6' + +jobs: + build_and_test: + runs-on: ubuntu-latest + + strategy: + matrix: + docker: [opensuse/leap] + + container: ${{ matrix.docker }} + + steps: + - run: zypper -n install + rpm-build + pkg-config + autoconf-archive + ccache + gdb + lcov + gdbm-devel + libbz2-devel + libb2-devel + libffi-devel + liblzma5 + libopenssl-3-devel + mpdecimal-devel + ncurses5-devel + readline6-devel + sqlite3-devel + strace + tk-devel + uuid-devel + xvfb-run + xz-devel + zlib-devel + # - run: ./configure --with-pydebug + # - run: make -j + # - run: ./python -m test -j + + # # - run: git clone --depth=1 --branch=3.12 http://www.github.com/python/cpython + - uses: actions/checkout@v4 + - run: pwd + - run: cd .. && find . + - name: Build + working-directory: cpython + run: | + ./configure --with-pydebug + make -j + - name: Test + working-directory: cpython + run: ./python -m test -j3