-
Notifications
You must be signed in to change notification settings - Fork 5
58 lines (47 loc) · 1.34 KB
/
devcontainer.yml
File metadata and controls
58 lines (47 loc) · 1.34 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: MLOS Autotuning DevContainer
on:
workflow_dispatch:
inputs:
tags:
description: Manual MLOS Autotuning DevContainer run aux info tags
NO_CACHE:
type: boolean
description: Disable caching?
default: false
required: false
push:
branches: [ main ]
pull_request:
branches: [ main ]
merge_group:
types: [checks_requested]
schedule:
- cron: "1 1 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
DevContainer:
runs-on: ubuntu-latest
permissions:
contents: read
env:
DOCKER_BUILDKIT: 1
BUILDKIT_INLINE_CACHE: 1
steps:
- uses: actions/checkout@v4
- name: Build devcontainer-cli image
run: |
./.devcontainer/build/build-devcontainer-cli.sh
- name: Build devcontainer image
run: |
./.devcontainer/build/build-devcontainer.sh
- name: Create devcontainer
run: |
./.devcontainer/scripts/create-devcontainer.sh
- name: Run benchmark in devcontainer
run: |
DOCKER_EXEC_ARGS='-i' ./.devcontainer/scripts/run-devcontainer.sh scripts/test_run.sh
- name: Run notebooks in devcontainer
run: |
DOCKER_EXEC_ARGS='-i' ./.devcontainer/scripts/run-devcontainer.sh scripts/test_notebooks.sh