Skip to content

Commit 3cda6e5

Browse files
committed
manylinux wheels
1 parent bd63c75 commit 3cda6e5

File tree

14 files changed

+420
-251
lines changed

14 files changed

+420
-251
lines changed

.github/release-drafter.yml

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,59 @@
11
---
2-
name-template: 'v$NEXT_PATCH_VERSION'
3-
tag-template: 'v$NEXT_PATCH_VERSION'
2+
# Title for release notes page
3+
name-template: 'v$RESOLVED_VERSION'
4+
5+
# Tag to be used in GitHub for the release
6+
tag-template: 'v$RESOLVED_VERSION'
7+
8+
# Group the PRs together for easy reading
49
categories:
10+
- title: '💣 BREAKING CHANGE'
11+
label: 'breaking change'
512
- title: '🚀 New Features'
613
label: 'enhancement'
7-
- title: '💣 Breaking Change'
8-
label: 'breaking change'
914
- title: '🐛 Bug Fixes'
1015
label: 'bug'
1116
- title: '📝 Documentation'
12-
label: 'docs'
17+
label: 'documentation'
1318
- title: '🔨 Maintenance'
14-
label: 'chore'
19+
label: 'maintenance'
20+
1521
exclude-labels:
1622
- 'skip changelog'
23+
1724
change-template: '- $TITLE (#$NUMBER, @$AUTHOR)'
25+
26+
version-resolver:
27+
major:
28+
labels:
29+
- 'major'
30+
- 'breaking change'
31+
minor:
32+
labels:
33+
- 'minor'
34+
- 'enhancement'
35+
- 'maintenance'
36+
patch:
37+
labels:
38+
- 'patch'
39+
- 'bug'
40+
- 'documentation'
41+
default: patch
42+
1843
template: |
1944
# Installing NLE
2045
21-
Install with pip: `pip install nle==$NEXT_PATCH_VERSION`.
46+
Install with pip: `pip install nle==$RESOLVED_VERSION`.
2247
23-
Or pull the docker image: `docker pull fairnle/nle:$NEXT_PATCH_VERSION`.
48+
See [README.md](https://github.com/heiner/nle/blob/v$RESOLVED_VERSION/README.md) and/or [docker/README.md](https://github.com/heiner/nle/blob/v$RESOLVED_VERSION/docker/README.md) for further instructions.
2449
25-
See [README.md](https://github.com/facebookresearch/nle/blob/v$NEXT_PATCH_VERSION/README.md) and/or [docker/README.md](https://github.com/facebookresearch/nle/blob/v$NEXT_PATCH_VERSION/docker/README.md) for further instructions.
50+
# New in NLE v$RESOLVED_VERSION
2651
52+
$CHANGES
2753
28-
# New in NLE v$NEXT_PATCH_VERSION
54+
# Acknowledgements
55+
56+
Thanks to the following contributors for supporting the development of NLE! 🙏
2957
30-
$CHANGES
58+
$CONTRIBUTORS
3159
...

.github/workflows/lint_cc.yml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
1+
---
12
name: Lintcheck C/C++
2-
33
on:
44
push:
5-
branches:
6-
- main
7-
paths:
8-
- "src/nle**.c"
9-
- "include/nle**.h"
10-
- "win/rl/**.cc"
5+
branches: [main]
6+
paths: [src/nle**.c, include/nle**.h, win/rl/**.cc]
117
pull_request:
12-
paths:
13-
- "src/nle**.c"
14-
- "include/nle**.h"
15-
- "win/rl/**.cc"
16-
schedule:
17-
- cron: "0 6,18 * * *"
18-
8+
paths: [src/nle**.c, include/nle**.h, win/rl/**.cc]
199
jobs:
2010
check_cc:
21-
name: "clang-format"
11+
name: clang-format
2212
runs-on: ubuntu-latest
2313
steps:
24-
- uses: actions/checkout@v2
25-
- uses: DoozyX/[email protected]
26-
with:
27-
source: 'win/rl src/nle.c sys/unix/nledl.c include/nle.h include/nledl.h include/nleobs.h'
28-
clangFormatVersion: 12
14+
- uses: actions/checkout@v4
15+
- uses: DoozyX/[email protected]
16+
with:
17+
source: win/rl src/nle.c sys/unix/nledl.c include/nle.h include/nledl.h
18+
include/nleobs.h
19+
clangFormatVersion: 12

.github/workflows/lint_python.yml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,21 @@
11
---
22
name: Lintcheck Python
3-
43
on:
54
push:
6-
branches:
7-
- main
8-
paths:
9-
- "**.py"
5+
branches: [main]
6+
paths: ['**.py']
107
pull_request:
11-
paths:
12-
- "**.py"
13-
schedule:
14-
- cron: "0 6,18 * * *"
15-
8+
paths: ['**.py']
169
jobs:
1710
check_python:
18-
name: "Black & flake8"
19-
11+
name: Check Python linting
2012
runs-on: ubuntu-latest
21-
2213
steps:
23-
- name: Setup Python 3.8 env
24-
uses: actions/setup-python@v1
25-
with:
26-
python-version: "3.8"
27-
- name: Clone NLE repo
28-
uses: actions/checkout@v2
29-
- name: Ensure latest pip
30-
run: "python -m pip install -q --upgrade pip"
31-
- name: Install python linting deps
32-
run: "pip install -q black flake8 flake8-bugbear isort"
33-
- name: Run black
34-
run: "black --check --diff ."
35-
- name: Run flake8
36-
run: "flake8"
37-
- name: Run isort
38-
run: "isort -c --diff nle/"
39-
...
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: '3.12'
17+
- uses: actions/checkout@v4
18+
- run: pip install -q uv && uv pip install --system ruff isort
19+
- run: ruff format --check --diff .
20+
- run: ruff check
21+
- run: isort -c --diff nle/
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
---
22
name: Release Drafter
3-
43
on:
54
push:
6-
branches:
7-
- main
8-
5+
branches: [main]
96
jobs:
107
update_release_draft:
118
runs-on: ubuntu-latest
@@ -14,4 +11,3 @@ jobs:
1411
uses: release-drafter/release-drafter@v5
1512
env:
1613
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
...

0 commit comments

Comments
 (0)