build_all_offline_apt_dnf_scheduled #13062
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2020 Intel Corporation | |
# | |
# SPDX-License-Identifier: MIT | |
name: build_all_offline_apt_dnf_scheduled | |
on: | |
push: {} | |
workflow_dispatch: {} | |
schedule: | |
- cron: '0 0 * * *' | |
env: | |
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396_offline.exe | |
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441_offline.exe | |
WINDOWS_IOTKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/dbdf4222-ff39-4c53-9b1a-23585f9a5e25/w_IoTKit_p_2023.2.0.49274_offline.exe | |
WINDOWS_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b80ac7cd-0ef8-45b3-ad1f-2e8504113c34/w_RenderKit_p_2023.2.0.49368_offline.exe | |
LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/l_BaseKit_p_2023.2.0.49397_offline.sh | |
LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/l_HPCKit_p_2023.2.0.49440_offline.sh | |
LINUX_IOTKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/792937e1-5667-47a9-a9df-e1142fce55b5/l_IoTKit_p_2023.2.0.49273_offline.sh | |
LINUX_AIKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/19090/l_AIKit_p_2023.0.0.26100_offline.sh | |
LINUX_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/a75957c3-0cf8-4385-8913-07b33324f7fb/l_RenderKit_p_2023.2.0.49367_offline.sh | |
MACOS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/cd013e6c-49c4-488b-8b86-25df6693a9b7/m_BaseKit_p_2023.2.0.49398_offline.dmg | |
MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/edb4dc2f-266f-47f2-8d56-21bc7764e119/m_HPCKit_p_2023.2.0.49443_offline.dmg | |
MACOS_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0510c852-f273-4e43-b8d6-9076cbc0dd34/m_RenderKit_p_2023.2.0.49370_offline.dmg | |
LINUX_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic,intel-oneapi-compiler-fortran,intel-oneapi-vtune | |
SAMPLES_TAG: 2023.2.0 | |
jobs: | |
build_windows_base_offline: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: tracert | |
run: tracert -h 1 registrationcenter-download.intel.com | |
- name: install_basekit | |
run: scripts/install_windows.bat $WINDOWS_BASEKIT_URL intel.oneapi.win.dpcpp-compiler | |
- name: build_dpc++ | |
run: scripts/build_windows.bat dpc++ 2022 $SAMPLES_TAG | |
# Delete the following if you don't want to save install logs | |
- name: Saving install logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: InstallLogs_${{ github.job }} | |
path: | | |
extract.log | |
bootstrapper* | |
installer* | |
retention-days: 7 | |
build_windows_hpc_iot_offline: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: tracert | |
run: tracert -h 1 registrationcenter-download.intel.com | |
- name: install_hpckit | |
run: scripts/install_windows.bat $WINDOWS_HPCKIT_URL intel.oneapi.win.ifort-compiler | |
- name: install_iotkit | |
run: scripts/install_windows.bat $WINDOWS_IOTKIT_URL intel.oneapi.win.cpp-compiler | |
- name: build_c++ | |
run: scripts/build_windows.bat c++ 2022 $SAMPLES_TAG | |
- name: build_fortran | |
run: scripts/build_windows.bat fortran 2022 $SAMPLES_TAG | |
# Delete the following if you don't want to save install logs | |
- name: Saving install logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: InstallLogs_${{ github.job }} | |
path: | | |
extract.log | |
bootstrapper* | |
installer* | |
retention-days: 7 | |
build_windows_render_offline: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: tracert | |
run: tracert -h 1 registrationcenter-download.intel.com | |
- name: install_renderkit | |
run: scripts/install_windows.bat $WINDOWS_RENDERKIT_URL intel.oneapi.win.embree | |
# Delete the following if you don't want to save install logs | |
- name: Saving install logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: InstallLogs_${{ github.job }} | |
path: | | |
extract.log | |
bootstrapper* | |
installer* | |
retention-days: 7 | |
build_linux_all_offline: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: traceroute | |
run: | | |
sudo apt-get install -y traceroute | |
sudo traceroute --tcp registrationcenter-download.intel.com | |
- name: install_basekit | |
run: scripts/install_linux.sh $LINUX_BASEKIT_URL intel.oneapi.lin.dpcpp-cpp-compiler | |
- name: install_hpckit | |
run: scripts/install_linux.sh $LINUX_HPCKIT_URL intel.oneapi.lin.ifort-compiler | |
- name: install_iotkit | |
run: scripts/install_linux.sh $LINUX_IOTKIT_URL intel.oneapi.lin.dpcpp-cpp-compiler-pro | |
- name: build_c++ | |
run: scripts/build_linux.sh c++ $SAMPLES_TAG | |
- name: build_fortran | |
run: scripts/build_linux.sh fortran $SAMPLES_TAG | |
- name: build_dpcpp | |
run: scripts/build_linux.sh dpc++ $SAMPLES_TAG | |
# Delete the following if you don't want to save install logs | |
- name: Saving install logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: InstallLogs_${{ github.job }} | |
path: | | |
bootstrapper* | |
installer* | |
retention-days: 7 | |
build_linux_all_offline_2: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: traceroute | |
run: | | |
sudo apt-get install -y traceroute | |
sudo traceroute --tcp registrationcenter-download.intel.com | |
- name: install_aikit | |
run: scripts/install_linux.sh $LINUX_AIKIT_URL intel.oneapi.lin.tensorflow | |
- name: install_renderkit | |
run: scripts/install_linux.sh $LINUX_RENDERKIT_URL intel.oneapi.lin.embree | |
# Delete the following if you don't want to save install logs | |
- name: Saving install logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: InstallLogs_${{ github.job }} | |
path: | | |
bootstrapper* | |
installer* | |
retention-days: 7 | |
build_linux_apt: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup apt repo | |
run: | | |
sudo dpkg --add-architecture i386 | |
scripts/setup_apt_repo_linux.sh | |
grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | |
- name: print packages info | |
run: sudo apt-cache show python3 python-jsonschema intel-oneapi-* | |
- name: print info2 | |
run: sudo apt-cache depends intel-oneapi-runtime-libs | |
- name: dry-run install oneapi | |
run: sudo apt install --dry-run $(apt-cache search intel-oneapi | grep -v intelfpga | grep -v intel-oneapi-ilit | grep -v intel-oneapi-lpot | grep -v -- '-tail$' | awk '{print $1}') | |
- name: dry-run install mpi | |
run: sudo apt install --dry-run $(apt-cache search intel-mpi | grep -v intel-mpi-2019.0-045 | grep -v -- '-tail$' | awk '{print $1}') | |
- name: install | |
run: scripts/install_linux_apt.sh $LINUX_COMPONENTS | |
- name: build | |
run: scripts/build_linux.sh c++ $SAMPLES_TAG | |
- name: build | |
run: scripts/build_linux.sh fortran $SAMPLES_TAG | |
- name: build | |
run: scripts/build_linux.sh dpc++ $SAMPLES_TAG | |
build_linux_apt_toolkits: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup apt repo | |
run: scripts/setup_apt_repo_linux.sh | |
- name: sudo apt update | |
run: sudo apt update | |
- name: print packages info | |
run: sudo apt-cache show intel-oneapi-* | |
- name: dry-run install basekit | |
run: sudo apt install --dry-run intel-basekit | |
if: ${{ always() }} | |
- name: dry-run install hpckit | |
run: sudo apt install --dry-run intel-hpckit | |
if: ${{ always() }} | |
- name: dry-run install iotkit | |
run: sudo apt install --dry-run intel-iotkit | |
if: ${{ always() }} | |
- name: dry-run install aikit | |
run: sudo apt install --dry-run intel-aikit | |
if: ${{ always() }} | |
- name: dry-run install renderkit | |
run: sudo apt install --dry-run intel-renderkit | |
if: ${{ always() }} | |
# - name: dry-run install FPGA1 | |
# run: sudo apt install --dry-run intel-oneapi-intelfpgadpcpp-a10gx-s10sx | |
# if: ${{ always() }} | |
# - name: dry-run install FPGA2 | |
# run: sudo apt install --dry-run intel-oneapi-intelfpgadpcpp-a10gx-s10sx-quartus | |
# if: ${{ always() }} | |
- name: dry-run install FPGA3 | |
run: sudo apt install --dry-run intel-oneapi-intelfpgadpcpp-custom-platforms-quartus19.4 | |
if: ${{ always() }} | |
- name: dry-run install FPGA4 | |
run: sudo apt install --dry-run intel-oneapi-intelfpgadpcpp-custom-platforms-quartus20.2 | |
if: ${{ always() }} | |
- name: dry-run install FPGA5 | |
run: sudo apt install --dry-run intel-oneapi-intelfpgadpcpp-custom-platforms-quartus20.3 | |
if: ${{ always() }} | |
- name: dry-run install FPGA6 | |
run: sudo apt install --dry-run intel-oneapi-intelfpgadpcpp-custom-platforms-quartus20.4 | |
if: ${{ always() }} | |
- name: install | |
run: scripts/install_linux_apt.sh $LINUX_COMPONENTS | |
- name: build | |
run: scripts/build_linux.sh c++ $SAMPLES_TAG | |
- name: build | |
run: scripts/build_linux.sh fortran $SAMPLES_TAG | |
- name: build | |
run: scripts/build_linux.sh dpc++ $SAMPLES_TAG | |
build_linux_dnf: | |
runs-on: ubuntu-20.04 | |
container: fedora:37 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup yum/dnf repo | |
run: scripts/setup_yum_dnf_repo_linux.sh | |
- name: install prerequisites | |
run: sudo dnf -y install git make gcc g++ findutils procps cmake | |
- name: install | |
run: scripts/install_linux_dnf.sh $LINUX_COMPONENTS | |
- name: install mpi | |
run: sudo dnf -y install intel-mpi | |
- name: build | |
run: scripts/build_linux.sh c++ $SAMPLES_TAG | |
- name: build | |
run: scripts/build_linux.sh fortran $SAMPLES_TAG | |
- name: build | |
run: scripts/build_linux.sh dpc++ $SAMPLES_TAG | |
build_macos_all_offline: | |
runs-on: macos-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install_basekit | |
run: scripts/install_macos.sh $MACOS_BASEKIT_URL | |
- name: install_hpckit | |
run: scripts/install_macos.sh $MACOS_HPCKIT_URL | |
- name: install_renderkit | |
run: scripts/install_macos.sh $MACOS_RENDERKIT_URL | |
- name: build_c++ | |
run: scripts/build_macos.sh c++ $SAMPLES_TAG | |
- name: build_fortran | |
run: scripts/build_macos.sh fortran $SAMPLES_TAG | |
# Delete the following if you don't want to save install logs | |
- name: Saving install logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: InstallLogs_${{ github.job }} | |
path: | | |
bootstrapper* | |
installer* | |
retention-days: 7 |