Skip to content

Commit c59cc95

Browse files
authored
fix fails of container builds in Azure Pipelines and GitHub Actions (#18)
1 parent 6a7e805 commit c59cc95

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595

9696
- job: build_linux_container_cpp
9797
pool:
98-
vmImage: 'ubuntu-latest'
98+
vmImage: 'ubuntu-20.04'
9999
container: oneapi-hpckit
100100
steps:
101101
- script: sudo apt-get update && sudo apt-get install -y git
@@ -105,7 +105,7 @@ jobs:
105105

106106
- job: build_linux_container_fortran
107107
pool:
108-
vmImage: 'ubuntu-latest'
108+
vmImage: 'ubuntu-20.04'
109109
container: oneapi-hpckit
110110
steps:
111111
- script: sudo apt-get update && sudo apt-get install -y git
@@ -115,7 +115,7 @@ jobs:
115115

116116
- job: build_linux_container_dpcpp
117117
pool:
118-
vmImage: 'ubuntu-latest'
118+
vmImage: 'ubuntu-20.04'
119119
container: oneapi-basekit
120120
steps:
121121
- script: sudo apt-get update && sudo apt-get install -y git

.github/workflows/build_all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
run: scripts/build_linux.sh dpc++
9595

9696
build_linux_container_cpp:
97-
runs-on: ubuntu-latest
97+
runs-on: ubuntu-20.04
9898
container: intel/oneapi-hpckit
9999
steps:
100100
- uses: actions/checkout@v2
@@ -104,7 +104,7 @@ jobs:
104104
run: scripts/build_linux.sh c++
105105

106106
build_linux_container_fortran:
107-
runs-on: ubuntu-latest
107+
runs-on: ubuntu-20.04
108108
container: intel/oneapi-hpckit
109109
steps:
110110
- uses: actions/checkout@v2
@@ -114,7 +114,7 @@ jobs:
114114
run: scripts/build_linux.sh fortran
115115

116116
build_linux_container_dpcpp:
117-
runs-on: ubuntu-latest
117+
runs-on: ubuntu-20.04
118118
container: intel/oneapi-basekit
119119
steps:
120120
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)