|
1 | | -# name: IGC DEV CI Containers |
2 | | -# on: |
3 | | -# workflow_dispatch: |
4 | | -# push: |
5 | | -# branches: |
6 | | -# - sycl |
7 | | -# paths: |
8 | | -# - 'devops/actions/build_container/**' |
9 | | -# - 'devops/scripts/**' |
10 | | -# - 'devops/dependencies-igc-dev.json' |
11 | | -# - '.github/workflows/sycl-containers-igc-dev.yaml' |
12 | | -# pull_request: |
13 | | -# paths: |
14 | | -# - 'devops/actions/build_container/**' |
15 | | -# - 'devops/scripts/**' |
16 | | -# - 'devops/dependencies-igc-dev.json' |
17 | | -# - '.github/workflows/sycl-containers-igc-dev.yaml' |
18 | | -# |
19 | | -# permissions: read-all |
20 | | -# |
21 | | -# jobs: |
22 | | -# build_and_push_images: |
23 | | -# if: github.repository == 'intel/llvm' |
24 | | -# name: Build and Push IGC Dev Docker Images |
25 | | -# runs-on: ubuntu-22.04 |
26 | | -# permissions: |
27 | | -# packages: write |
28 | | -# strategy: |
29 | | -# matrix: |
30 | | -# include: |
31 | | -# - name: Intel Drivers Ubuntu 24.04 Docker image with dev IGC |
32 | | -# dockerfile: ubuntu2404_intel_drivers_igc_dev |
33 | | -# imagefile: ubuntu2404_intel_drivers |
34 | | -# tag: devigc |
35 | | -# build_args: | |
36 | | -# "use_unstable_driver=false" |
37 | | -# "use_igc_dev=true" |
38 | | -# steps: |
39 | | -# - name: Checkout |
40 | | -# uses: actions/checkout@v4 |
41 | | -# with: |
42 | | -# fetch-depth: 2 |
43 | | -# - name: Build and Push Container |
44 | | -# uses: ./devops/actions/build_container |
45 | | -# with: |
46 | | -# push: ${{ github.event_name != 'pull_request' }} |
47 | | -# file: ${{ matrix.dockerfile }} |
48 | | -# username: ${{ github.repository_owner }} |
49 | | -# password: ${{ secrets.GITHUB_TOKEN }} |
50 | | -# tags: | |
51 | | -# ghcr.io/${{ github.repository }}/${{ matrix.imagefile }}:${{ matrix.tag }}-${{ github.sha }} |
52 | | -# ghcr.io/${{ github.repository }}/${{ matrix.imagefile }}:${{ matrix.tag }} |
53 | | -# build-args: ${{ matrix.build_args }} |
54 | | -# |
| 1 | +name: IGC DEV CI Containers |
| 2 | +on: |
| 3 | + workflow_dispatch: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - sycl |
| 7 | + paths: |
| 8 | + - 'devops/actions/build_container/**' |
| 9 | + - 'devops/scripts/**' |
| 10 | + - 'devops/dependencies-igc-dev.json' |
| 11 | + - '.github/workflows/sycl-containers-igc-dev.yaml' |
| 12 | + pull_request: |
| 13 | + paths: |
| 14 | + - 'devops/actions/build_container/**' |
| 15 | + - 'devops/scripts/**' |
| 16 | + - 'devops/dependencies-igc-dev.json' |
| 17 | + - '.github/workflows/sycl-containers-igc-dev.yaml' |
| 18 | + |
| 19 | +permissions: read-all |
| 20 | + |
| 21 | +jobs: |
| 22 | + build_and_push_images: |
| 23 | + if: github.repository == 'intel/llvm' |
| 24 | + name: Build and Push IGC Dev Docker Images |
| 25 | + runs-on: ubuntu-22.04 |
| 26 | + permissions: |
| 27 | + packages: write |
| 28 | + strategy: |
| 29 | + matrix: |
| 30 | + include: |
| 31 | + - name: Intel Drivers Ubuntu 24.04 Docker image with dev IGC |
| 32 | + dockerfile: ubuntu2404_intel_drivers_igc_dev |
| 33 | + imagefile: ubuntu2404_intel_drivers |
| 34 | + tag: devigc |
| 35 | + build_args: | |
| 36 | + "use_unstable_driver=false" |
| 37 | + "use_igc_dev=true" |
| 38 | + steps: |
| 39 | + - name: Checkout |
| 40 | + uses: actions/checkout@v4 |
| 41 | + with: |
| 42 | + fetch-depth: 2 |
| 43 | + - name: Build and Push Container |
| 44 | + uses: ./devops/actions/build_container |
| 45 | + with: |
| 46 | + push: ${{ github.event_name != 'pull_request' }} |
| 47 | + file: ${{ matrix.dockerfile }} |
| 48 | + username: ${{ github.repository_owner }} |
| 49 | + password: ${{ secrets.GITHUB_TOKEN }} |
| 50 | + tags: | |
| 51 | + ghcr.io/${{ github.repository }}/${{ matrix.imagefile }}:${{ matrix.tag }}-${{ github.sha }} |
| 52 | + ghcr.io/${{ github.repository }}/${{ matrix.imagefile }}:${{ matrix.tag }} |
| 53 | + build-args: ${{ matrix.build_args }} |
| 54 | + |
0 commit comments