Skip to content

Commit adda9b1

Browse files
authored
Merge 3907d2a into b617d6c
2 parents b617d6c + 3907d2a commit adda9b1

File tree

3 files changed

+27
-19
lines changed

3 files changed

+27
-19
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
defaults:
2121
run:
22-
shell: bash -l {0}
22+
shell: bash -el {0}
2323

2424
jobs:
2525
build-and-deploy:
@@ -59,13 +59,13 @@ jobs:
5959
with:
6060
docker-images: false
6161

62-
- name: Install Intel repository
62+
- name: Add Intel repository
6363
run: |
64-
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
65-
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
66-
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
67-
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
68-
sudo apt-get update
64+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
65+
cat GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
66+
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
67+
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
68+
sudo apt update
6969
7070
- name: Update libstdc++-dev
7171
run: |

.github/workflows/conda-package.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686

8787
defaults:
8888
run:
89-
shell: ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -l {0}' }}
89+
shell: ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -el {0}' }}
9090

9191
continue-on-error: true
9292

@@ -122,7 +122,7 @@ jobs:
122122
run: echo "MAMBA_NO_LOW_SPEED_LIMIT=1" >> $GITHUB_ENV
123123

124124
- name: Store conda paths as envs
125-
shell: bash -l {0}
125+
shell: bash -el {0}
126126
run: |
127127
echo "CONDA_BLD=$CONDA_PREFIX/conda-bld/${{ runner.os == 'Linux' && 'linux' || 'win' }}-64/" | tr "\\\\" '/' >> $GITHUB_ENV
128128
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
@@ -168,7 +168,7 @@ jobs:
168168

169169
defaults:
170170
run:
171-
shell: bash -l {0}
171+
shell: bash -el {0}
172172

173173
strategy:
174174
matrix:
@@ -364,7 +364,7 @@ jobs:
364364
@echo on
365365
set "SCRIPT=${{ env.VER_SCRIPT1 }} ${{ env.VER_SCRIPT2 }}"
366366
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
367-
SET PACKAGE_VERSION=%%F
367+
set PACKAGE_VERSION=%%F
368368
)
369369
echo PACKAGE_VERSION: %PACKAGE_VERSION%
370370
(echo PACKAGE_VERSION=%PACKAGE_VERSION%) >> %GITHUB_ENV%
@@ -403,7 +403,11 @@ jobs:
403403
shell: pwsh
404404
run: |
405405
$script_path="$env:CONDA_PREFIX\Scripts\set-intel-ocl-icd-registry.ps1"
406-
&$script_path
406+
if (Test-Path $script_path) {
407+
&$script_path
408+
} else {
409+
Write-Warning "File $script_path was NOT found!"
410+
}
407411
# Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
408412
$cl_cfg="$env:CONDA_PREFIX\Library\lib\cl.cfg"
409413
Get-Content -Tail 5 -Path $cl_cfg
@@ -447,7 +451,7 @@ jobs:
447451

448452
defaults:
449453
run:
450-
shell: bash -l {0}
454+
shell: bash -el {0}
451455

452456
continue-on-error: true
453457

@@ -496,11 +500,15 @@ jobs:
496500

497501
cleanup_packages:
498502
name: Clean up anaconda packages
503+
499504
needs: [upload]
505+
500506
runs-on: 'ubuntu-latest'
507+
501508
defaults:
502509
run:
503510
shell: bash -el {0}
511+
504512
steps:
505513
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
506514
with:

.github/workflows/generate_coverage.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
defaults:
1919
run:
20-
shell: bash -l {0}
20+
shell: bash -el {0}
2121

2222
env:
2323
python-ver: '3.12'
@@ -40,11 +40,11 @@ jobs:
4040
- name: Add Intel repository
4141
if: env.INSTALL_ONE_API == 'yes'
4242
run: |
43-
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
44-
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
45-
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
46-
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
47-
sudo apt-get update
43+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
44+
cat GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
45+
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
46+
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
47+
sudo apt update
4848
4949
- name: Install latest Intel OneAPI
5050
if: env.INSTALL_ONE_API == 'yes'

0 commit comments

Comments
 (0)