|
7 | 7 | pull_request:
|
8 | 8 | paths:
|
9 | 9 | - 'devops/containers/ubuntu2004_preinstalled.Dockerfile'
|
| 10 | + - 'devops/containers/ubuntu2204_preinstalled.Dockerfile' |
10 | 11 | - '.github/workflows/sycl_nightly.yml'
|
11 | 12 |
|
12 | 13 | jobs:
|
|
26 | 27 | build_artifact_suffix: default
|
27 | 28 | build_configure_extra_args: ''
|
28 | 29 |
|
| 30 | + ubuntu2204_build_test: |
| 31 | + if: github.repository == 'intel/llvm' |
| 32 | + uses: ./.github/workflows/sycl_linux_build_and_test.yml |
| 33 | + needs: test_matrix |
| 34 | + secrets: inherit |
| 35 | + with: |
| 36 | + build_cache_root: "/__w/" |
| 37 | + build_artifact_suffix: default |
| 38 | + build_configure_extra_args: '' |
| 39 | + build_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest" |
| 40 | + |
29 | 41 | ubuntu2004_opaque_pointers_build_test:
|
30 | 42 | if: github.repository == 'intel/llvm'
|
31 | 43 | uses: ./.github/workflows/sycl_linux_build_and_test.yml
|
|
37 | 49 | build_artifact_suffix: opaque_pointers
|
38 | 50 | build_configure_extra_args: "--hip --cuda --enable-esimd-emulator --cmake-opt=-DDPCPP_ENABLE_OPAQUE_POINTERS=TRUE"
|
39 | 51 |
|
| 52 | + ubuntu2204_opaque_pointers_build_test: |
| 53 | + if: github.repository == 'intel/llvm' |
| 54 | + uses: ./.github/workflows/sycl_linux_build_and_test.yml |
| 55 | + needs: test_matrix |
| 56 | + secrets: inherit |
| 57 | + with: |
| 58 | + build_cache_root: "/__w/" |
| 59 | + build_cache_suffix: opaque_pointers |
| 60 | + build_artifact_suffix: opaque_pointers |
| 61 | + build_configure_extra_args: "--hip --cuda --enable-esimd-emulator --cmake-opt=-DDPCPP_ENABLE_OPAQUE_POINTERS=TRUE" |
| 62 | + build_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest" |
| 63 | + |
40 | 64 | windows_default:
|
41 | 65 | name: Windows
|
42 | 66 | if: github.repository == 'intel/llvm'
|
@@ -78,3 +102,40 @@ jobs:
|
78 | 102 | tags: |
|
79 | 103 | ghcr.io/${{ github.repository }}/sycl_ubuntu2004_nightly:no-drivers-${{ github.sha }}
|
80 | 104 | ghcr.io/${{ github.repository }}/sycl_ubuntu2004_nightly:no-drivers
|
| 105 | +
|
| 106 | + ubuntu2204_docker_build_push: |
| 107 | + if: github.repository == 'intel/llvm' |
| 108 | + runs-on: ubuntu-latest |
| 109 | + needs: ubuntu2204_build_test |
| 110 | + steps: |
| 111 | + - uses: actions/checkout@v3 |
| 112 | + - uses: actions/download-artifact@v3 |
| 113 | + with: |
| 114 | + name: sycl_linux_default |
| 115 | + path: devops/ |
| 116 | + - name: Build and Push Container (with drivers) |
| 117 | + uses: ./devops/actions/build_container |
| 118 | + with: |
| 119 | + push: ${{ github.event_name != 'pull_request' }} |
| 120 | + file: ubuntu2204_preinstalled |
| 121 | + username: ${{ github.repository_owner }} |
| 122 | + password: ${{ secrets.GITHUB_TOKEN }} |
| 123 | + build-args: | |
| 124 | + base_image=ghcr.io/intel/llvm/ubuntu2204_intel_drivers |
| 125 | + base_tag=latest |
| 126 | + tags: | |
| 127 | + ghcr.io/${{ github.repository }}/sycl_ubuntu2204_nightly:${{ github.sha }} |
| 128 | + ghcr.io/${{ github.repository }}/sycl_ubuntu2204_nightly:latest |
| 129 | + - name: Build and Push Container (no drivers) |
| 130 | + uses: ./devops/actions/build_container |
| 131 | + with: |
| 132 | + push: ${{ github.event_name != 'pull_request' }} |
| 133 | + file: ubuntu2204_preinstalled |
| 134 | + username: ${{ github.repository_owner }} |
| 135 | + password: ${{ secrets.GITHUB_TOKEN }} |
| 136 | + build-args: | |
| 137 | + base_image=ghcr.io/intel/llvm/ubuntu2204_base |
| 138 | + base_tag=latest |
| 139 | + tags: | |
| 140 | + ghcr.io/${{ github.repository }}/sycl_ubuntu2204_nightly:no-drivers-${{ github.sha }} |
| 141 | + ghcr.io/${{ github.repository }}/sycl_ubuntu2204_nightly:no-drivers |
0 commit comments