docker-validation Nightly #877
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@692973e3d937129bcbf40652eb9f2f61becf3332 # 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 |