-
Notifications
You must be signed in to change notification settings - Fork 20
59 lines (47 loc) · 1.3 KB
/
MAIN.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: "Build"
# description: Build and test simeng on various OS with various compilers followed by benchmarking and a performance regression test followed by a clang format if all previous workflow succeed
on:
workflow_dispatch:
# workflow_call:
# push:
# branches:
# - dev
pull_request:
branches:
- dev
- main
# schedule:
# - cron: '0 0 */6 * *' # Runs every 6 days
jobs:
###################################
# Debug Mode
###################################
DEBUG_LINUX:
name: "Debug - build and test"
uses: ./.github/workflows/LINUX_BUILD_TEST.yml
with:
RUNNER: ubuntu-latest
SIMENG-MODE: Debug
secrets: inherit
DEBUG_MACOS:
name: "Debug - build and test"
uses: ./.github/workflows/MACOS_BUILD_TEST.yml
with:
SIMENG-MODE: Debug
secrets: inherit
##################################
# Release Mode
##################################
RELEASE_LINUX:
name: "Release - build, test and benchmarks"
uses: ./.github/workflows/LINUX_BUILD_TEST.yml
with:
RUNNER: ubuntu-latest
SIMENG-MODE: Release
secrets: inherit
RELEASE_MACOS:
name: "Release - build, test and benchmarks"
uses: ./.github/workflows/MACOS_BUILD_TEST.yml
with:
SIMENG-MODE: Release
secrets: inherit