Skip to content

Commit 2e7a2c7

Browse files
committed
Cleanup
1 parent 0f0c726 commit 2e7a2c7

File tree

1 file changed

+30
-34
lines changed

1 file changed

+30
-34
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ jobs:
77
build:
88
runs-on: ${{ matrix.os }}
99
env:
10-
ZMQ_SYSTEM_LIBZMQ: 1
1110
ASYNC_TEST_TIMEOUT: 30
1211
CONDA_HOME: /usr/share/miniconda
1312
strategy:
@@ -16,12 +15,12 @@ jobs:
1615
os: [ubuntu-latest]
1716
python-version: ["3.9", "3.10", "3.11"]
1817
steps:
19-
- name: Downgrade GCC to version 12
20-
run: |
21-
sudo apt-get install -y gcc-12 g++-12
22-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
23-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
24-
gcc --version
18+
# - name: Downgrade GCC to version 12
19+
# run: |
20+
# sudo apt-get install -y gcc-12 g++-12
21+
# sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
22+
# sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
23+
# gcc --version
2524
- name: Checkout
2625
uses: actions/checkout@v4
2726
with:
@@ -79,48 +78,45 @@ jobs:
7978
8079
link_check:
8180
runs-on: ubuntu-latest
82-
env:
83-
ZMQ_SYSTEM_LIBZMQ: 1
84-
PYTHON_VERSION: '3.11'
8581
steps:
8682
- uses: actions/checkout@v4
87-
8883
- name: Set up Python 3.11
8984
uses: actions/setup-python@v5
9085
with:
9186
python-version: '3.11'
9287

93-
- name: Display Python version
94-
run: |
95-
python -c "import sys; print(sys.version)"
96-
whereis python
97-
whereis python3
88+
# - name: Display Python version
89+
# run: |
90+
# python -c "import sys; print(sys.version)"
91+
# whereis python
92+
# whereis python3
9893

99-
- name: Force Python 3.11
100-
run: |
101-
sudo update-alternatives --install /usr/local/bin/python python /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
102-
sudo update-alternatives --install /usr/local/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
103-
echo "/usr/local/bin:$PATH" >> $GITHUB_PATH
104-
echo "PYTHON_VERSION=3.11" >> $GITHUB_ENV
105-
sudo update-alternatives --config python3
94+
# - name: Force Python 3.11
95+
# run: |
96+
# sudo update-alternatives --install /usr/local/bin/python python /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
97+
# sudo update-alternatives --install /usr/local/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
98+
# echo "/usr/local/bin:$PATH" >> $GITHUB_PATH
99+
# echo "PYTHON_VERSION=3.11" >> $GITHUB_ENV
100+
# sudo update-alternatives --config python3
106101

107-
- name: Downgrade GCC to version 12
108-
run: |
109-
sudo apt-get install -y gcc-12 g++-12
110-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
111-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
112-
gcc --version
113-
- name: Install system ZeroMQ
114-
run: sudo apt-get update && sudo apt-get install -y libzmq3-dev
115-
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
116-
with:
117-
python-version: '3.11'
102+
# - name: Downgrade GCC to version 12
103+
# run: |
104+
# sudo apt-get install -y gcc-12 g++-12
105+
# sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
106+
# sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
107+
# gcc --version
108+
# - name: Install system ZeroMQ
109+
# run: sudo apt-get update && sudo apt-get install -y libzmq3-dev
110+
# - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
111+
# with:
112+
# python-version: '3.11'
118113
- name: Install Python dependencies
119114
run: |
120115
pip install ".[test]"
121116
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
122117
with:
123118
ignore_links: "http://my-gateway-server.com:8888"
119+
python-version: '3.11'
124120

125121
build_docs:
126122
runs-on: windows-latest

0 commit comments

Comments
 (0)