Skip to content
Open
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
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
env:
WITH_CURRENT_SHELL: "nix-shell --run"


strategy:
matrix:
py:
- 3.9.9

steps:
- uses: actions/[email protected]

- name: Install Nix
uses: cachix/install-nix-action@v15
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Install nix dependencies
run: $WITH_CURRENT_SHELL 'env'

- name: Make configure script
run: $WITH_CURRENT_SHELL 'make -C build VERSION=${{matrix.py}}'
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build
build/python_info/*
build/python_src/*
build/sphinx_env/*
build/python.tgz
build/python.tgz
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build/python.texi build/python.info:
$(MAKE) -C build/

python.texi: build/python.texi
python.info: build/python.info
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Python Info Manuals

[![Build Status](https://travis-ci.org/Wilfred/python-info.svg?branch=master)](https://travis-ci.org/Wilfred/python-info)

This is a simple Emacs package to provide an info manual for
Python.

Expand Down
7 changes: 4 additions & 3 deletions build/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PYTHON_VERSION = '2.7.10'
VIRTUALENV_BIN = $(shell python -c "import sys;print('virtualenv'+('' if sys.version_info.major==2 else '2'))")
PYTHON_VERSION ?= 3.9.9
VIRTUALENV_BIN ?= virtualenv
SPHINX_VERSION ?= 5.2.0

default: python.info

Expand All @@ -16,7 +17,7 @@ sphinx_env:
$(VIRTUALENV_BIN) sphinx_env

sphinx-build: sphinx_env
sphinx_env/bin/pip install sphinx==1.3.3
sphinx_env/bin/pip install sphinx==$(SPHINX_VERSION)

python.texi: python_src sphinx-build
sphinx_env/bin/sphinx-build -b texinfo python_src/Doc python_info
Expand Down
13 changes: 0 additions & 13 deletions python-info.el

This file was deleted.

Loading