Skip to content

Commit 65d8722

Browse files
New upstream version 1.6.12
1 parent d99587e commit 65d8722

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1300
-1338
lines changed

.github/workflows/build.yml

+123
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
{
2+
"name": "Build",
3+
"on": {
4+
"push": {
5+
"branches-ignore": "gh-pages",
6+
"tags-ignore": "*",
7+
},
8+
"pull_request": null,
9+
},
10+
11+
"jobs": {
12+
"linux": {
13+
"runs-on": "ubuntu-latest",
14+
"strategy": {
15+
"fail-fast": false,
16+
"matrix": {
17+
"name": ["debian-stable", "debian-heimdal", "centos-8",
18+
"fedora-latest"],
19+
"include": [
20+
{
21+
"name": "debian-stable",
22+
"distro": "debian:stable",
23+
},
24+
{
25+
"name": "debian-heimdal",
26+
"distro": "debian:stable",
27+
"krb5_ver": "heimdal",
28+
},
29+
{
30+
"name": "centos-8",
31+
"distro": "centos:8",
32+
},
33+
{
34+
"name": "fedora-latest",
35+
"distro": "fedora:latest",
36+
"flake": "yes",
37+
},
38+
],
39+
},
40+
},
41+
"steps": [
42+
{
43+
"name": "Check out code",
44+
"uses": "actions/checkout@v2",
45+
},
46+
{
47+
"name": "Build and test gssapi",
48+
"run": "./ci/run-on-linux.sh ./ci/build.sh",
49+
"env": {
50+
"DISTRO": "${{ matrix.distro }}",
51+
"KRB5_VER": "${{ matrix.krb5_ver }}",
52+
"FLAKE": "${{ matrix.flake }}",
53+
},
54+
},
55+
],
56+
},
57+
58+
"windows": {
59+
"runs-on": "windows-latest",
60+
"strategy": {
61+
"fail-fast": false,
62+
"matrix": {
63+
"name": [
64+
"win-py-3.9",
65+
"win-py-3.8",
66+
"win-py-3.7",
67+
"win-py-3.6",
68+
],
69+
"include": [
70+
{
71+
"name": "win-py-3.9",
72+
"pyenv": "3.9",
73+
},
74+
{
75+
"name": "win-py-3.8",
76+
"pyenv": "3.8",
77+
},
78+
{
79+
"name": "win-py-3.7",
80+
"pyenv": "3.7",
81+
},
82+
{
83+
"name": "win-py-3.6",
84+
"pyenv": "3.6",
85+
},
86+
],
87+
},
88+
},
89+
"steps": [
90+
{
91+
"name": "Check out code",
92+
"uses": "actions/checkout@v2",
93+
},
94+
{
95+
"name": "Install the right python",
96+
"uses": "actions/setup-python@v2",
97+
"with": { "python-version": "${{ matrix.pyenv }}" },
98+
},
99+
{
100+
"name": "Build and test gssapi",
101+
"shell": "bash",
102+
"run": "./ci/build.sh",
103+
"env": { "OS_NAME": "windows" },
104+
},
105+
],
106+
},
107+
108+
"macos-heimdal": {
109+
"runs-on": "macos-latest",
110+
"steps": [
111+
{
112+
"name": "Check out code",
113+
"uses": "actions/checkout@v2",
114+
},
115+
{
116+
"name": "Build and test gssapi",
117+
"run": "./ci/build.sh",
118+
"env": { "KRB5_VER": "heimdal" },
119+
},
120+
],
121+
},
122+
},
123+
}

.github/workflows/deploy-docs.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "Deploy docs",
3+
"on": { "push": { "branches": "main" }},
4+
"jobs": {
5+
"update-pages": {
6+
"runs-on": "ubuntu-latest",
7+
"steps": [
8+
{
9+
"name": "Check out code",
10+
"uses": "actions/checkout@v2",
11+
},
12+
{
13+
"name": "Build docs",
14+
"env": { "DISTRO": "fedora:latest" },
15+
"run": "./ci/run-on-linux.sh ./ci/before-docs-deploy.sh",
16+
},
17+
{
18+
"name": "Deploy latest docs",
19+
"uses": "JamesIves/[email protected]",
20+
"with": {
21+
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}",
22+
"BRANCH": "gh-pages",
23+
"FOLDER": "ci_docs_build/html",
24+
"TARGET_FOLDER": "latest",
25+
},
26+
},
27+
],
28+
},
29+
},
30+
}

.github/workflows/release.yml

+131
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"name": "Release",
3+
"on": { "push": { "tags": "v*" }},
4+
"jobs": {
5+
"release-linux": {
6+
"runs-on": "ubuntu-latest",
7+
"steps": [
8+
{
9+
"name": "Check out code",
10+
"uses": "actions/checkout@v2",
11+
},
12+
{
13+
"name": "Set things up",
14+
"env": { "DISTRO": "fedora:latest" },
15+
"run": "./ci/run-on-linux.sh ./ci/before-deploy.sh",
16+
},
17+
{
18+
"name": "Deploy to PyPI",
19+
"uses": "pypa/[email protected]",
20+
"with": {
21+
"user": "rharwood",
22+
"password": "${{ secrets.pypi_password }}",
23+
},
24+
},
25+
{
26+
"name": "Deploy stable docs",
27+
"uses": "JamesIves/[email protected]",
28+
"with": {
29+
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}",
30+
"BRANCH": "gh-pages",
31+
"FOLDER": "ci_docs_build/html",
32+
"TARGET_FOLDER": "stable",
33+
},
34+
},
35+
{
36+
"name": "Create release",
37+
"uses": "actions/create-release@v1",
38+
"id": "cr",
39+
"env": { "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" },
40+
"with": {
41+
"tag_name": "${{ github.ref }}",
42+
"release_name": "${{ github.ref }}",
43+
},
44+
},
45+
{
46+
"id": "tarball",
47+
"run": "echo \"::set-output name=tarball::`ls tag_build/*.tar.gz | awk -F/ '{print $2}'`\""
48+
},
49+
{
50+
"id": "checksum",
51+
"run": "echo \"::set-output name=checksum::`ls tag_build/*.sha512sum | awk -F/ '{print $2}'`\""
52+
},
53+
{
54+
"name": "Upload release tarball",
55+
"uses": "actions/upload-release-asset@v1",
56+
"env": { "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" },
57+
"with": {
58+
"upload_url": "${{ steps.cr.outputs.upload_url }}",
59+
"asset_path": "tag_build/${{ steps.tarball.outputs.tarball }}",
60+
"asset_name": "${{ steps.tarball.outputs.tarball }}",
61+
"asset_content_type": "application/octet-stream",
62+
},
63+
},
64+
{
65+
"name": "Upload release checksum",
66+
"uses": "actions/upload-release-asset@v1",
67+
"env": { "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" },
68+
"with": {
69+
"upload_url": "${{ steps.cr.outputs.upload_url }}",
70+
"asset_path": "tag_build/${{ steps.checksum.outputs.checksum }}",
71+
"asset_name": "${{ steps.checksum.outputs.checksum }}",
72+
"asset_content_type": "text/plain",
73+
},
74+
},
75+
],
76+
},
77+
78+
"release-windows": {
79+
"runs-on": "windows-latest",
80+
"strategy": {
81+
"matrix": {
82+
"name": [
83+
"win-wheel-3.9",
84+
"win-wheel-3.8",
85+
"win-wheel-3.7",
86+
"win-wheel-3.6",
87+
],
88+
"include": [
89+
{
90+
"name": "win-wheel-3.9",
91+
"pyenv": "3.9",
92+
},
93+
{
94+
"name": "win-wheel-3.8",
95+
"pyenv": "3.8",
96+
},
97+
{
98+
"name": "win-wheel-3.7",
99+
"pyenv": "3.7",
100+
},
101+
{
102+
"name": "win-wheel-3.6",
103+
"pyenv": "3.6",
104+
},
105+
],
106+
},
107+
},
108+
"steps": [
109+
{
110+
"name": "Check out code",
111+
"uses": "actions/checkout@v2",
112+
},
113+
{
114+
"name": "Install the right python",
115+
"uses": "actions/setup-python@v2",
116+
"with": { "python-version": "${{ matrix.pyenv }}" },
117+
},
118+
{
119+
"name": "Create and upload Windows wheel",
120+
"shell": "bash",
121+
"run": "./ci/release-win.sh",
122+
"env": {
123+
"OS_NAME": "windows",
124+
"TWINE_USER": "rharwood",
125+
"TWINE_PASSWORD": "${{ secrets.pypi_password }}",
126+
},
127+
},
128+
],
129+
},
130+
},
131+
}

0 commit comments

Comments
 (0)