Skip to content

Commit bcbb8a2

Browse files
committed
updating the yml file (hopefully this fixes the CI)
1 parent 518f002 commit bcbb8a2

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.github/workflows/master-test-workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242

4343
- name: Build Pybind11
4444
run: |
45+
sudo apt-get update
46+
sudo apt-get install -y python3-pytest
47+
4548
/usr/bin/python3 -m pip install --upgrade pip pytest
4649
4750
cd extern/pybind11

.github/workflows/pr-development-workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ jobs:
272272

273273
- name: Build Pybind11
274274
run: |
275+
sudo apt-get update
276+
sudo apt-get install -y python3-pytest
277+
275278
/usr/bin/python3 -m pip install --upgrade pip pytest
276279
277280
cd extern/pybind11

.gitlab-ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,30 @@ build:
77
- x86
88
- infiniband
99
script:
10+
# Build Pybind11
11+
- sudo apt-get update
12+
- sudo apt-get install -y python3-pytest
13+
- /usr/bin/python3 -m pip install --upgrade pip pytest
14+
- cd extern/pybind11
15+
- mkdir -p build
16+
- cd build
17+
- cmake .. -DPython_EXECUTABLE=/usr/bin/python3
18+
- make check -j"$(nproc)"
19+
- mkdir -p mock_install/share/pkgconfig
20+
- |
21+
cat <<EOF > mock_install/share/pkgconfig/pybind11.pc
22+
prefix=$(pwd)/..
23+
includedir=\${prefix}/include
24+
25+
Name: pybind11
26+
Description: Seamless operability between C++11 and Python
27+
Version: 2.13.6
28+
Cflags: -I\${includedir}
29+
EOF
30+
- export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(pwd)/mock_install/share/pkgconfig"
31+
32+
# TaskR build process
33+
- cd ../../../..
1034
- export HOME=/home/hicr
1135
- source /home/hicr/.hicr-env.sh
1236
- echo "Building TaskR..."

0 commit comments

Comments
 (0)