tracy/.github/workflows/gcc.yml

46 lines
1.5 KiB
YAML
Raw Normal View History

2020-05-06 11:30:01 +00:00
name: gcc
2020-05-05 23:09:06 +00:00
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
2022-06-16 12:46:56 +00:00
os: [ubuntu-22.04, macOS-latest]
2020-05-05 23:09:06 +00:00
steps:
- uses: actions/checkout@v2
- name: Install linux libraries
2022-06-16 12:46:56 +00:00
if: ${{ matrix.os == 'ubuntu-22.04' }}
2022-12-19 23:53:56 +00:00
run: sudo apt-get update && sudo apt-get -y install libdbus-1-dev libcapstone-dev libtbb-dev libdebuginfod-dev libxkbcommon-dev libegl-dev libwayland-dev
- name: Install macos libraries
if: ${{ matrix.os == 'macOS-latest' }}
run: brew install capstone tbb pkg-config glfw
2020-05-05 23:09:06 +00:00
- name: Profiler GUI
2022-07-02 15:46:36 +00:00
run: make -j`nproc` -C profiler/build/unix debug release
2020-05-05 23:09:06 +00:00
- name: Update utility
2022-07-02 15:46:36 +00:00
run: make -j`nproc` -C update/build/unix debug release
2020-05-05 23:09:06 +00:00
- name: Capture utility
2022-07-02 15:46:36 +00:00
run: make -j`nproc` -C capture/build/unix debug release
2020-07-11 12:56:48 +00:00
- name: Csvexport utility
2022-07-02 15:46:36 +00:00
run: make -j`nproc` -C csvexport/build/unix debug release
2020-06-24 00:08:03 +00:00
- name: Import-chrome utility
2022-07-02 15:46:36 +00:00
run: make -j`nproc` -C import-chrome/build/unix debug release
2020-05-05 23:09:06 +00:00
- name: Library
2022-07-02 15:46:36 +00:00
run: make -j`nproc` -C library/unix debug release
2020-05-05 23:09:06 +00:00
- name: Test application
run: |
2022-07-02 15:46:36 +00:00
make -j`nproc` -C test
make -j`nproc` -C test clean
make -j`nproc` -C test TRACYFLAGS=-DTRACY_ON_DEMAND
make -j`nproc` -C test clean
make -j`nproc` -C test TRACYFLAGS="-DTRACY_DELAYED_INIT -DTRACY_MANUAL_LIFETIME"
make -C test -B ../public/TracyClient.o DEFINES='-DTRACY_DEMANGLE'