forked from mmzakhar/oneapi-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
103 lines (92 loc) · 3.68 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# SPDX-FileCopyrightText: 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
language: minimal
env:
global:
- WINDOWS_BASEKIT_URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260_offline.exe
- WINDOWS_HPCKIT_URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266_offline.exe
- MACOS_HPCKIT_URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/17230/m_HPCKit_b_2021.1.10.2260.dmg
- WINDOWS_CPP_COMPONENTS=intel.oneapi.win.cpp-compiler
- WINDOWS_FORTRAN_COMPONENTS=intel.oneapi.win.ifort-compiler
- WINDOWS_DPCPP_COMPONENTS=intel.oneapi.win.dpcpp-compiler
- LINUX_CPP_COMPONENTS=intel-oneapi-dpcpp-cpp-compiler-pro
- LINUX_FORTRAN_COMPONENTS=intel-oneapi-ifort
- LINUX_DPCPP_COMPONENTS=intel-oneapi-dpcpp-cpp-compiler
- MACOS_CPP_COMPONENTS=intel.oneapi.mac.cpp-compiler
- MACOS_FORTRAN_COMPONENTS=intel.oneapi.mac.ifort-compiler
jobs:
include:
- name: build_windows_cpp
os: windows
install: scripts/install_windows.bat $WINDOWS_HPCKIT_URL $WINDOWS_CPP_COMPONENTS
script: scripts/build_windows.bat c++ 2017_build_tools
- name: build_windows_fortran
os: windows
install: scripts/install_windows.bat $WINDOWS_HPCKIT_URL $WINDOWS_FORTRAN_COMPONENTS
script: scripts/build_windows.bat fortran 2017_build_tools
- name: build_windows_dpcpp
os: windows
install: scripts/install_windows.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_COMPONENTS
script: scripts/build_windows.bat dpc++ 2017_build_tools
- name: build_linux_apt_cpp
os: linux
dist: bionic
install: |
scripts/setup_apt_repo_linux.sh
scripts/install_linux_apt.sh $LINUX_CPP_COMPONENTS
script: scripts/build_linux.sh c++
- name: build_linux_apt_fortran
os: linux
dist: bionic
install: |
scripts/setup_apt_repo_linux.sh
scripts/install_linux_apt.sh $LINUX_FORTRAN_COMPONENTS
script: scripts/build_linux.sh fortran
- name: build_linux_apt_dpcpp
os: linux
dist: bionic
install: |
scripts/setup_apt_repo_linux.sh
scripts/install_linux_apt.sh $LINUX_DPCPP_COMPONENTS
script: scripts/build_linux.sh dpc++
- name: build_linux_container_cpp
os: linux
services:
- docker
addons:
apt:
packages:
- docker-ce
install: docker pull intel/oneapi-hpckit
script: docker run -w=/tmp/ci -v $(pwd):/tmp/ci intel/oneapi-hpckit /bin/bash -c "apt update && apt install -y git && scripts/build_linux.sh c++"
- name: build_linux_container_fortran
os: linux
services:
- docker
addons:
apt:
packages:
- docker-ce
install: docker pull intel/oneapi-hpckit
script: docker run -w=/tmp/ci -v $(pwd):/tmp/ci intel/oneapi-hpckit /bin/bash -c "apt update && apt install -y git && scripts/build_linux.sh fortran"
- name: build_linux_container_dpcpp
os: linux
services:
- docker
addons:
apt:
packages:
- docker-ce
install: docker pull intel/oneapi-basekit
script: docker run -w=/tmp/ci -v $(pwd):/tmp/ci intel/oneapi-basekit /bin/bash -c "apt update && apt install -y git && scripts/build_linux.sh dpc++"
- name: build_mac_cpp
os: osx
osx_image: xcode11.6
install: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_CPP_COMPONENTS
script: scripts/build_macos.sh c++
- name: build_mac_fortran
os: osx
osx_image: xcode11.6
install: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_FORTRAN_COMPONENTS
script: scripts/build_macos.sh fortran