Skip to content

Commit 1611e30

Browse files
committed
sync to upstream
1 parent 1397c94 commit 1611e30

File tree

1 file changed

+29
-32
lines changed

1 file changed

+29
-32
lines changed

.github/workflows/asan.yaml

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,35 @@ jobs:
2121
run:
2222
shell: bash -l {0}
2323
steps:
24-
# # Install git before actions/checkout as otherwise it will download the code with the GitHub
25-
# # REST API and therefore any subsequent git commands will fail.
26-
# - name: Install clang 18
27-
# env:
28-
# DEBIAN_FRONTEND: noninteractive
29-
# run: |
30-
# apt update
31-
# apt install -y clang-18 libstdc++-14-dev build-essential libssl-dev \
32-
# zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl git \
33-
# libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev \
34-
# libffi-dev liblzma-dev
35-
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36-
# with:
37-
# path: jax
38-
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39-
# with:
40-
# repository: python/cpython
41-
# path: cpython
42-
# ref: v3.13.0
43-
# - name: Build CPython with ASAN enabled
44-
# env:
45-
# ASAN_OPTIONS: detect_leaks=0
46-
# run: |
47-
# cd cpython
48-
# mkdir ${GITHUB_WORKSPACE}/cpythonasan
49-
# CC=clang-18 CXX=clang++-18 ./configure --prefix ${GITHUB_WORKSPACE}/cpythonasan --with-address-sanitizer --without-pymalloc
50-
# make -j64
51-
# make install
52-
# ${GITHUB_WORKSPACE}/cpythonasan/bin/python3 -m venv ${GITHUB_WORKSPACE}/venv
53-
# Halt for testing
54-
- name: Wait For Connection
55-
uses: google-ml-infra/actions/ci_connection@main
24+
# Install git before actions/checkout as otherwise it will download the code with the GitHub
25+
# REST API and therefore any subsequent git commands will fail.
26+
- name: Install clang 18
27+
env:
28+
DEBIAN_FRONTEND: noninteractive
29+
run: |
30+
apt update
31+
apt install -y clang-18 libstdc++-14-dev build-essential libssl-dev \
32+
zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl git \
33+
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev \
34+
libffi-dev liblzma-dev
35+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
with:
37+
path: jax
38+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+
with:
40+
repository: python/cpython
41+
path: cpython
42+
ref: v3.13.0
43+
- name: Build CPython with ASAN enabled
44+
env:
45+
ASAN_OPTIONS: detect_leaks=0
46+
run: |
47+
cd cpython
48+
mkdir ${GITHUB_WORKSPACE}/cpythonasan
49+
CC=clang-18 CXX=clang++-18 ./configure --prefix ${GITHUB_WORKSPACE}/cpythonasan --with-address-sanitizer --without-pymalloc
50+
make -j64
51+
make install
52+
${GITHUB_WORKSPACE}/cpythonasan/bin/python3 -m venv ${GITHUB_WORKSPACE}/venv
5653
- name: Install JAX test requirements
5754
env:
5855
ASAN_OPTIONS: detect_leaks=0

0 commit comments

Comments
 (0)