Skip to content

Commit

Permalink
ci: skip openblas with the Intel compiler
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Reber <areber@redhat.com>
  • Loading branch information
adrianreber committed Apr 29, 2024
1 parent cee2287 commit 218a54f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ jobs:
uses: Ana06/get-changed-files@v2.2.0
- name: Validate Build
run: |
if [ "${{ matrix.compiler }}" == "intel" ]; then
export SKIP_CI_SPECS="${{ env.SKIP_CI_SPECS }} components/serial-libs/openblas/SPECS/openblas.spec"
fi
. /etc/profile.d/lmod.sh
tests/ci/run_build.py ohpc ${{ steps.files.outputs.added_modified }} --compiler-family ${{ matrix.compiler }}
touch /tmp/empty
Expand Down Expand Up @@ -134,6 +137,9 @@ jobs:
- name: Run CI Tests
run: |
export SKIP_CI_SPECS="${{ env.SKIP_CI_SPECS }}${{ env.JOB_SKIP_CI_SPECS }}"
if [ "${{ matrix.compiler }}" == "intel" ]; then
export SKIP_CI_SPECS="${SKIP_CI_SPECS} components/serial-libs/openblas/SPECS/openblas.spec"
fi
. /etc/profile.d/lmod.sh
chown ohpc -R tests
tests/ci/setup_slurm_and_run_tests.sh ohpc ${{ matrix.compiler }} ${{ steps.files.outputs.added_modified }}
Expand Down
2 changes: 1 addition & 1 deletion tests/ci/run_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
skip_ci_specs = []
skip_ci_specs_env = os.getenv('SKIP_CI_SPECS')
if skip_ci_specs_env:
skip_ci_specs = skip_ci_specs_env.rstrip().split('\n')
skip_ci_specs = skip_ci_specs_env.rstrip().split()

for row in reader:
key = row.pop('NAME')
Expand Down
2 changes: 1 addition & 1 deletion tests/ci/spec_to_test_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
skip_ci_specs = []
skip_ci_specs_env = os.getenv('SKIP_CI_SPECS')
if skip_ci_specs_env:
skip_ci_specs = skip_ci_specs_env.rstrip().split('\n')
skip_ci_specs = skip_ci_specs_env.rstrip().split()
for spec in skip_ci_specs:
if spec in test_map:
test_map.pop(spec)
Expand Down

0 comments on commit 218a54f

Please sign in to comment.