forked from simulationcraft/simc
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (54 loc) · 1.94 KB
/
Copy pathubuntu_run.yml
File metadata and controls
64 lines (54 loc) · 1.94 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
59
60
61
62
63
64
name: ubuntu-run
on:
workflow_call:
inputs:
cache-sha:
type: string
required: true
env:
SIMC_PROFILE: profiles/CI.simc
SIMC_ARGS: output=/dev/null html=/dev/null json=/dev/null
jobs:
ubuntu-run:
name: ubuntu-${{ matrix.compiler }}-cpp-${{ matrix.cppVersion }}-${{ matrix.type }}
runs-on: ${{ matrix.os }}
env:
CACHE_KEY: ubuntu-${{ matrix.compiler }}-for_run-${{ inputs.cache-sha }}-cpp-${{ matrix.cppVersion }}
UBSAN_OPTIONS: print_stacktrace=1
strategy:
fail-fast: false
matrix:
cppVersion: [17, 20]
compiler: [clang++-15, clang++-18, gcc-12, gcc-14]
include:
- compiler: clang++-15
os: ubuntu-22.04
- compiler: clang++-18
os: ubuntu-24.04
- compiler: gcc-14
os: ubuntu-24.04
- compiler: gcc-12
os: ubuntu-22.04
steps:
- uses: actions/cache@v4
with:
path: |
${{ runner.workspace }}/b/ninja/simc
profiles
tests
generate_profiles_ci.sh
.git
key: ${{ env.CACHE_KEY }}
- name: "Spell Query"
run: ${{ runner.workspace }}/b/ninja/simc $SIMC_ARGS spell_query=spell > /dev/null
- name: "Log Debug"
run: ${{ runner.workspace }}/b/ninja/simc $SIMC_ARGS $SIMC_PROFILE log=1 debug=1 max_time=100
- name: "Patchwerk"
run: ${{ runner.workspace }}/b/ninja/simc $SIMC_ARGS $SIMC_PROFILE iterations=10 cleanup_threads=1
- name: "DungeonSlice"
run: ${{ runner.workspace }}/b/ninja/simc $SIMC_ARGS $SIMC_PROFILE iterations=10 fight_style=DungeonSlice allow_experimental_specializations=1 cleanup_threads=1
- name: Clear Cache
if: ( matrix.compiler != 'clang++-15' || matrix.cppVersion != '17' ) && github.event_name == 'push'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh cache delete ${{ env.CACHE_KEY }}