Skip to content

Commit 218a54f

Browse files
committed
ci: skip openblas with the Intel compiler
Signed-off-by: Adrian Reber <areber@redhat.com>
1 parent cee2287 commit 218a54f

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/validate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ jobs:
8787
uses: Ana06/get-changed-files@v2.2.0
8888
- name: Validate Build
8989
run: |
90+
if [ "${{ matrix.compiler }}" == "intel" ]; then
91+
export SKIP_CI_SPECS="${{ env.SKIP_CI_SPECS }} components/serial-libs/openblas/SPECS/openblas.spec"
92+
fi
9093
. /etc/profile.d/lmod.sh
9194
tests/ci/run_build.py ohpc ${{ steps.files.outputs.added_modified }} --compiler-family ${{ matrix.compiler }}
9295
touch /tmp/empty
@@ -134,6 +137,9 @@ jobs:
134137
- name: Run CI Tests
135138
run: |
136139
export SKIP_CI_SPECS="${{ env.SKIP_CI_SPECS }}${{ env.JOB_SKIP_CI_SPECS }}"
140+
if [ "${{ matrix.compiler }}" == "intel" ]; then
141+
export SKIP_CI_SPECS="${SKIP_CI_SPECS} components/serial-libs/openblas/SPECS/openblas.spec"
142+
fi
137143
. /etc/profile.d/lmod.sh
138144
chown ohpc -R tests
139145
tests/ci/setup_slurm_and_run_tests.sh ohpc ${{ matrix.compiler }} ${{ steps.files.outputs.added_modified }}

tests/ci/run_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
skip_ci_specs = []
5151
skip_ci_specs_env = os.getenv('SKIP_CI_SPECS')
5252
if skip_ci_specs_env:
53-
skip_ci_specs = skip_ci_specs_env.rstrip().split('\n')
53+
skip_ci_specs = skip_ci_specs_env.rstrip().split()
5454

5555
for row in reader:
5656
key = row.pop('NAME')

tests/ci/spec_to_test_mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
skip_ci_specs = []
254254
skip_ci_specs_env = os.getenv('SKIP_CI_SPECS')
255255
if skip_ci_specs_env:
256-
skip_ci_specs = skip_ci_specs_env.rstrip().split('\n')
256+
skip_ci_specs = skip_ci_specs_env.rstrip().split()
257257
for spec in skip_ci_specs:
258258
if spec in test_map:
259259
test_map.pop(spec)

0 commit comments

Comments
 (0)