Fix linking on win32. #1555
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gcc | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install linux libraries | |
if: ${{ matrix.os == 'ubuntu-22.04' }} | |
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 | |
- 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 | |
- name: Library | |
run: make -j`nproc` -C library/unix debug release | |
- name: Test application | |
run: | | |
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' |