Skip to content

Commit 958876a

Browse files
committed
See if upgrading the CPUs fixed sanitizers running under docker
1 parent dc9a7be commit 958876a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci-sanitizers.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
# Map a step output to a job output
3535
outputs:
3636
should_skip: ${{ steps.skip_check.outputs.should_skip }}
37+
selfhosted: ${{ github.repository_owner == 'FreeRADIUS' && '1' || '0' }}
38+
docker_prefix: ${{ github.repository_owner == 'FreeRADIUS' && 'docker.internal.networkradius.com/' || '' }}
3739
steps:
3840
- id: skip_check
3941
uses: fkirc/skip-duplicate-actions@master
@@ -57,7 +59,11 @@ jobs:
5759
# docker - the docker image name, if containers are being used
5860
# name - used in the job name only
5961
os:
60-
- { runs_on: "ubuntu-20.04", code: "ubuntu2004", docker: "ubuntu:20.04", name: "gh-ubuntu20", imageos: "ubuntu20" }
62+
- runs_on: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'self-hosted' || 'ubuntu-20.04' }}"
63+
docker: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'docker.internal.networkradius.com/self-hosted' || 'ubuntu:20.04' }}"
64+
name: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'self' || 'gh' }}-ubuntu20"
65+
code: "ubuntu2004"
66+
imageos: "ubuntu20"
6167

6268
env:
6369
- { CC: clang, BUILD_CFLAGS: "-DWITH_EVAL_DEBUG", LIBS_OPTIONAL: no, LIBS_ALT: no, TEST_TYPE: fixtures, NAME: linux-clang-lean }
@@ -140,4 +146,3 @@ jobs:
140146
with:
141147
limit-access-to-actor: true
142148
if: ${{ github.ref == 'refs/heads/ci-debug' && failure() }}
143-

0 commit comments

Comments
 (0)