Skip to content

Commit

Permalink
Convert main branch GitHub Action for OpenSUSE 3.6 builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcepl committed Dec 18, 2024
1 parent 4f2496b commit 22eb9e9
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 77 deletions.
9 changes: 0 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

38 changes: 0 additions & 38 deletions .github/appveyor.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/codecov.yml

This file was deleted.

60 changes: 60 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 22eb9e9

Please sign in to comment.