Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reduce warnings and errors ci #264

Merged
merged 1 commit into from
May 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 14 additions & 39 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
cling-version: '1.0'
cppyy: On
coverage: true
#FIXME: Windows CppInterOp tests expected to fail
#until https://github.com/compiler-research/CppInterOp/issues/188 is solved
- name: win2022-msvc-clang-repl-18
os: windows-2022
compiler: msvc
Expand Down Expand Up @@ -132,10 +130,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Save PR Info on Unix systems
if: ${{ runner.os != 'windows' }}
Expand Down Expand Up @@ -292,6 +291,7 @@ jobs:
if: runner.os == 'macOS'
run: |
brew update
brew remove ruby@3.0
# workaround for https://github.com/actions/setup-python/issues/577
for pkg in $(brew list | grep '^python@'); do
brew unlink "$pkg"
Expand Down Expand Up @@ -460,7 +460,7 @@ jobs:
${{ matrix.cling=='On' && 'cling' || '' }}
key: ${{ steps.cache.outputs.cache-primary-key }}

cppyy_and_xeus_clang_repl:
cppinterop_and_cppyy_build:
needs: [build_cache]
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -497,34 +497,6 @@ jobs:
cling-version: '1.0'
cppyy: On
coverage: true
#Commented out until Ubuntu on arm Github runner becomes available
#os key to be replaced once known
#- name: ubu22-arm-gcc12-clang-repl-18-cppyy
# os: ubuntu-22.04-arm
# compiler: gcc-12
# clang-runtime: '18'
# cling: Off
# cppyy: On
#- name: ubu22-arm-gcc12-clang-repl-17-cppyy
# os: ubuntu-22.04-arm
# compiler: gcc-12
# clang-runtime: '17'
# cling: Off
# cppyy: On
#- name: ubu22-arm-gcc9-clang-repl-16-cppyy
# os: ubuntu-22.04-arm
# compiler: gcc-9
# clang-runtime: '16'
# cling: Off
# cppyy: On
# coverage: true
#- name: ubu22-arm-gcc9-clang13-cling-cppyy
# os: ubuntu-22.04-arm
# compiler: gcc-9
# clang-runtime: '13'
# cling: On
# cling-version: '1.0'
# cppyy: On
#FIXME: Windows CppInterOp tests expected to fail
#until https://github.com/compiler-research/CppInterOp/issues/188 is solved
- name: win2022-msvc-clang-repl-18
Expand Down Expand Up @@ -626,10 +598,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Save PR Info on Unix systems
if: ${{ runner.os != 'windows' }}
Expand Down Expand Up @@ -786,6 +759,7 @@ jobs:
if: runner.os == 'macOS'
run: |
brew update
brew remove ruby@3.0
# workaround for https://github.com/actions/setup-python/issues/577
for pkg in $(brew list | grep '^python@'); do
brew unlink "$pkg"
Expand Down Expand Up @@ -996,7 +970,7 @@ jobs:
# We need PYTHONPATH later
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
- name: Run the tests on Unix Systems
if: ${{ (runner.os != 'windows') && (matrix.cppyy == 'On') && (matrix.xeus-clang-repl != 'On') }}
if: ${{ (runner.os != 'windows') && (matrix.cppyy == 'On') }}
run: |
# Run the tests
source .venv/bin/activate
Expand Down Expand Up @@ -1094,7 +1068,7 @@ jobs:
timeout-minutes: 30

emscripten_wasm:
needs: [cppyy_and_xeus_clang_repl]
needs: [cppinterop_and_cppyy_build]
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -1169,10 +1143,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Save PR Info on Unix systems
if: ${{ runner.os != 'windows' }}
Expand Down
Loading