mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 13:13:53 +00:00
Switch CI to build on archlinux image.
This commit is contained in:
parent
7c6e093213
commit
906f73cab3
39
.github/workflows/linux.yml
vendored
Normal file
39
.github/workflows/linux.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
name: linux
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
container: archlinux:base-devel
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install linux libraries
|
||||||
|
run: pacman -Syu --noconfirm && pacman -S --noconfirm --needed freetype2 capstone tbb debuginfod wayland dbus libxkbcommon libglvnd meson
|
||||||
|
- 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: Library (meson)
|
||||||
|
run: meson setup -Dprefix=$PWD/install build && meson compile -C build && meson install -C build
|
||||||
|
- 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'
|
@ -1,4 +1,4 @@
|
|||||||
name: gcc
|
name: macos
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -9,19 +9,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: macOS-latest
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-22.04, macOS-latest]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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 meson
|
|
||||||
- name: Install macos libraries
|
- name: Install macos libraries
|
||||||
if: ${{ matrix.os == 'macOS-latest' }}
|
|
||||||
run: brew install capstone tbb pkg-config glfw meson
|
run: brew install capstone tbb pkg-config glfw meson
|
||||||
- name: Profiler GUI
|
- name: Profiler GUI
|
||||||
run: make -j`nproc` -C profiler/build/unix debug release
|
run: make -j`nproc` -C profiler/build/unix debug release
|
Loading…
x
Reference in New Issue
Block a user