File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 11
11
" jobs " : {
12
12
" linux " : {
13
13
" runs-on " : " ubuntu-latest" ,
14
- " container " : {
15
- " image " : " ${{ matrix.distro }}" ,
16
- " options " : " -htest.box" ,
17
- },
18
14
" strategy " : {
19
15
" fail-fast " : false,
20
16
" matrix " : {
49
45
},
50
46
{
51
47
" name " : " Build and test gssapi" ,
52
- " run " : " ./ci/build.sh" ,
48
+ " run " : " ./ci/run-on-linux.sh ./ci/ build.sh" ,
53
49
" env " : {
50
+ " DISTRO " : " ${{ matrix.distro }}" ,
54
51
" KRB5_VER " : " ${{ matrix.krb5_ver }}" ,
55
52
" FLAKE " : " ${{ matrix.flake }}" ,
56
53
},
Original file line number Diff line number Diff line change 4
4
" jobs " : {
5
5
" update-pages " : {
6
6
" runs-on " : " ubuntu-latest" ,
7
- " container " : {
8
- " image " : " fedora:latest" ,
9
- " options " : " -htest.box" ,
10
- },
11
7
" steps " : [
12
8
{
13
9
" name " : " Check out code" ,
14
10
" uses " : " actions/checkout@v2" ,
15
11
},
16
12
{
17
13
" name " : " Build docs" ,
18
- " run " : " ./ci/before-docs-deploy.sh" ,
14
+ " run " : " ./ci/run-on-linux.sh ./ci/ before-docs-deploy.sh" ,
19
15
},
20
16
{
21
17
" name " : " Deploy latest docs" ,
Original file line number Diff line number Diff line change 4
4
" jobs " : {
5
5
" release-linux " : {
6
6
" runs-on " : " ubuntu-latest" ,
7
- " container " : {
8
- " image " : " fedora:latest" ,
9
- " options " : " -htest.box" ,
10
- },
11
7
" steps " : [
12
8
{
13
9
" name " : " Check out code" ,
14
10
" uses " : " actions/checkout@v2" ,
15
11
},
16
12
{
17
13
" name " : " Set things up" ,
18
- " run " : " ./ci/before-deploy.sh" ,
14
+ " env " : { "DISTRO": "fedora:latest" },
15
+ " run " : " ./ci/run-on-linux.sh ./ci/before-deploy.sh" ,
19
16
},
20
17
{
21
18
" name " : " Deploy to PyPI" ,
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -ex
2
+
3
+ # If we try to use a normal Github Actions container with
4
+ # github-pages-deploy-action, it will fail due to inability to find git.
5
+
6
+ docker run -h test.box \
7
+ -v ` pwd` :/tmp/build -w /tmp/build \
8
+ -e KRB5_VER=${KRB5_VER:- mit} \
9
+ -e FLAKE=${FLAKE: no} \
10
+ $DISTRO /bin/bash -ex $@
You can’t perform that action at this time.
0 commit comments