2023-11-19 13:07:40 +00:00
|
|
|
name: macos
|
2020-05-05 23:09:06 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
2023-11-19 13:07:40 +00:00
|
|
|
runs-on: macOS-latest
|
2020-05-05 23:09:06 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-06-20 17:04:15 +00:00
|
|
|
- name: Install macos libraries
|
2023-10-19 09:52:17 +00:00
|
|
|
run: brew install capstone tbb pkg-config glfw meson
|
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
|
2023-10-19 09:52:17 +00:00
|
|
|
- name: Library (meson)
|
|
|
|
run: meson setup -Dprefix=$PWD/install build && meson compile -C build && meson install -C build
|
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"
|
2023-09-05 23:28:58 +00:00
|
|
|
make -C test -B ../public/TracyClient.o DEFINES='-DTRACY_DEMANGLE'
|