-
Notifications
You must be signed in to change notification settings - Fork 127
89 lines (74 loc) · 3.04 KB
/
tests_new.yaml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: Tests (new)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
types: [opened, labeled, reopened, synchronize]
push:
branches:
- "trunk-*"
workflow_dispatch:
jobs:
start_action_runners:
name: Start action runners
runs-on: ubuntu-latest
steps:
- name: Use jetstream2-admin/start
uses: glotzerlab/jetstream2-admin/start@v1.2.5
with:
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
typical:
name: Build and test typical configurations
uses: ./.github/workflows/build_and_test.yaml
with:
config: ${{ join(matrix.config, '_') }}
container_prefix: ${{ matrix.config[0] }}
build_runner: ${{ toJson(matrix.build_runner) }}
test_runner: ${{ toJson(matrix.test_runner) }}
test_docker_options: ${{ matrix.test_docker_options }}
validate: ${{ matrix.validate }}
strategy:
fail-fast: false
matrix:
include:
- config: [clang14_py311, mpi, tbb, llvm]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: ubuntu-latest
validate: true
- config: [gcc13_py312]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: ubuntu-latest
validate: true
- config: [cuda120_gcc11_py310, mpi, llvm]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: [self-hosted,GPU]
test_docker_options: '--gpus=all --device /dev/nvidia0 --device /dev/nvidia1 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl'
validate: true
- config: [cuda120_gcc11_py310]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: [self-hosted,GPU]
test_docker_options: '--gpus=all --device /dev/nvidia0 --device /dev/nvidia1 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl'
validate: true
- config: [gcc13_py312, nomd]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: ubuntu-latest
validate: false
- config: [gcc13_py312, nohpmc]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: ubuntu-latest
validate: false
- config: [gcc13_py312, nomd, nohpmc]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: ubuntu-latest
validate: false
- config: [cuda120_gcc11_py310 mpi, llvm, debug]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: [self-hosted,GPU]
test_docker_options: '--gpus=all --device /dev/nvidia0 --device /dev/nvidia1 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl'
validate: false
- config: [gcc9_py39]
build_runner: [self-hosted,jetstream2,CPU]
test_runner: ubuntu-latest
validate: false