Skip to content

Commit b46dcd3

Browse files
committed
Added Linux flags
1 parent 25ec839 commit b46dcd3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ jobs:
110110
run: |
111111
echo "CC=clang-${{ matrix.clang }}" >> $GITHUB_ENV
112112
echo "CXX=clang++-${{ matrix.clang }}" >> $GITHUB_ENV
113+
114+
- name: Add Linux flags
115+
if: runner.os == 'Linux'
116+
shell: bash
117+
run: |
118+
echo "CFLAGS='-fPIC'" >> $GITHUB_ENV
119+
echo "CXXFLAGS='-fPIC'" >> $GITHUB_ENV
120+
113121
- name: Setup pytest annotations
114122
run: |
115123
python -m pip install pytest-github-actions-annotate-failures

0 commit comments

Comments
 (0)