forked from wolfpld/tracy
-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (71 loc) · 2.44 KB
/
gcc.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: gcc
on:
push:
branches: [ master, chaos ]
pull_request:
branches: [ master, chaos ]
jobs:
build-linux:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
container:
image: registry.licensees.chaosinitiative.com/chaos-initiative/ci/chaos-cas2-steamrt:latest
credentials:
username: token
password: ${{ secrets.DOCKER_CONTAINER_REGISTRY_TOKEN }}
env:
LEGACY: "1"
TRACY_NO_LTO: "1"
CC: "clang"
CXX: "clang++"
steps:
- uses: actions/checkout@v2
- name: Install libraries
run: sudo apt-get update && sudo apt-get -y install libcapstone-dev libglfw3-dev
- name: Profiler GUI
run: make -j`nproc` -C profiler/build/unix debug release
- name: Update utility
run: make -j`nproc` -C update/build/unix debug release
- name: Capture utility
run: make -j`nproc` -C capture/build/unix debug release
- name: Csvexport utility
run: make -j`nproc` -C csvexport/build/unix debug release
- name: Import-chrome utility
run: make -j`nproc` -C import-chrome/build/unix debug release
- uses: actions/upload-artifact@v3
with:
name: binaries-linux
path: |
profiler/build/unix/Tracy-release
update/build/unix/update-release
capture/build/unix/capture-release
csvexport/build/unix/csvexport-release
import-chrome/build/unix/import-chrome-release
build-macos:
runs-on: macOS-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Install libraries
run: brew install capstone tbb pkg-config glfw
- name: Profiler GUI
run: make -j`nproc` -C profiler/build/unix debug release
- name: Update utility
run: make -j`nproc` -C update/build/unix debug release
- name: Capture utility
run: make -j`nproc` -C capture/build/unix debug release
- name: Csvexport utility
run: make -j`nproc` -C csvexport/build/unix debug release
- name: Import-chrome utility
run: make -j`nproc` -C import-chrome/build/unix debug release
- uses: actions/upload-artifact@v3
with:
name: binaries-macos
path: |
profiler/build/unix/Tracy-release
update/build/unix/update-release
capture/build/unix/capture-release
csvexport/build/unix/csvexport-release
import-chrome/build/unix/import-chrome-release