forked from oneapi-src/oneDAL
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.06 KB
/
docker-validation-nightly.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
name: docker-validation Nightly
on:
schedule:
- cron: "0 23 * * *"
pull_request:
branches:
- main
paths:
- .github/workflows/docker-validation-nightly.yml
- dev/docker/onedal-dev.Dockerfile
- .ci/env
- .ci/scripts
push:
branches:
- main
paths:
- .github/workflows/docker-validation-nightly.yml
- dev/docker/onedal-dev.Dockerfile
- .ci/env
- .ci/scripts
permissions:
contents: read
jobs:
validate:
name: Docker validation
if: github.repository == 'oneapi-src/oneDAL'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Build docker image
run: docker build . --file dev/docker/onedal-dev.Dockerfile --tag onedal-dev:latest
- name: Building oneDAL
run: docker run onedal-dev .ci/scripts/build.sh --compiler gnu --optimizations avx2 --target daal --conda-env ci-env
- name: Building oneDAL with bazel
run: docker run onedal-dev bazel build :release