From 88830a7f3ac8d8dbd72c0d0bc069dea16c7d5558 Mon Sep 17 00:00:00 2001 From: Jesus Hector Robles Gutierrez Date: Thu, 31 Oct 2024 09:51:52 -0700 Subject: [PATCH 1/2] Updates for circle ci containers and gh actions Signed-off-by: Jesus Hector Robles Gutierrez --- .circleci/config.yml | 4 +-- .github/workflows/build_all.yml | 50 ++++++++++++++++----------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 075c956c..ea6a2d6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -483,7 +483,7 @@ jobs: build_linux_container_cpp: docker: - - image: intel/oneapi-hpckit + - image: intel/hpckit steps: - run: name: install_git @@ -495,7 +495,7 @@ jobs: build_linux_container_fortran: docker: - - image: intel/oneapi-hpckit + - image: intel/hpckit steps: - run: name: install_git diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 8afbe9f4..97030883 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -36,10 +36,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat @@ -73,10 +73,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat @@ -110,10 +110,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat @@ -152,10 +152,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler @@ -186,10 +186,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler @@ -220,10 +220,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler @@ -255,7 +255,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install run: scripts/install_linux_aitools.sh $LINUX_AIKIT_URL - name: build @@ -278,14 +278,14 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: setup apt repo run: scripts/setup_apt_repo_linux.sh - name: collect versioned dependencies of apt packages run: scripts/apt_depends.sh $LINUX_CPP_COMPONENTS | tee depends.txt - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler @@ -305,14 +305,14 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: setup apt repo run: scripts/setup_apt_repo_linux.sh - name: collect versioned dependencies of apt packages run: scripts/apt_depends.sh $LINUX_FORTRAN_COMPONENTS | tee depends.txt - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler @@ -332,14 +332,14 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: setup apt repo run: scripts/setup_apt_repo_linux.sh - name: collect versioned dependencies of apt packages run: scripts/apt_depends.sh $LINUX_DPCPP_COMPONENTS | tee depends.txt - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler @@ -361,7 +361,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install prerequisites run: scripts/install_prerequisites_linux_dnf.sh - name: setup yum/dnf repo @@ -370,7 +370,7 @@ jobs: run: scripts/dnf_depends.sh $LINUX_CPP_COMPONENTS | tee depends.txt - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler @@ -391,7 +391,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install prerequisites run: scripts/install_prerequisites_linux_dnf.sh - name: setup yum/dnf repo @@ -400,7 +400,7 @@ jobs: run: scripts/dnf_depends.sh $LINUX_FORTRAN_COMPONENTS | tee depends.txt - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler @@ -421,7 +421,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install prerequisites run: scripts/install_prerequisites_linux_dnf.sh - name: setup yum/dnf repo @@ -430,7 +430,7 @@ jobs: run: scripts/dnf_depends.sh $LINUX_DPCPP_COMPONENTS | tee depends.txt - name: cache install id: cache-install - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | /opt/intel/oneapi/compiler From 580e8f5c31d41ddbd4329f7d3148b9ffef2aa0f7 Mon Sep 17 00:00:00 2001 From: Jesus Hector Robles Gutierrez Date: Thu, 31 Oct 2024 10:15:50 -0700 Subject: [PATCH 2/2] Update actions for workflows Updates actions for checks and list component workflows Signed-off-by: Jesus Hector Robles Gutierrez --- .github/workflows/checks.yml | 4 ++-- .github/workflows/list_components.yml | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index fadbf57f..95ea4b54 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -11,8 +11,8 @@ jobs: checks: runs-on: Ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 - name: Install prerequisites run: | sudo apt-get install -qq clang-format diff --git a/.github/workflows/list_components.yml b/.github/workflows/list_components.yml index f55e279a..60168f97 100644 --- a/.github/workflows/list_components.yml +++ b/.github/workflows/list_components.yml @@ -25,8 +25,8 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: '3.x' - name: Intel® oneAPI Base Toolkit @@ -46,8 +46,8 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: '3.x' - name: Intel® oneAPI Base Toolkit @@ -66,8 +66,8 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: '3.x' - name: Intel® AI Tools Toolkit @@ -84,8 +84,8 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: '3.x' - name: setup apt repo @@ -106,8 +106,8 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: '3.x' - name: setup yum/dnf repo @@ -133,7 +133,7 @@ jobs: shell: bash working-directory: doc steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Download artifacts - windows uses: actions/download-artifact@v3 with: @@ -159,7 +159,7 @@ jobs: with: name: linux_aitools path: doc/source/${{ github.workflow }} - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3 with: python-version: '3.x' - name: Install prerequisites @@ -177,7 +177,7 @@ jobs: path: doc/build - name: Checkout gh-pages if: ${{ github.ref == 'refs/heads/master' }} - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: gh-pages path: gh-pages