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:
|
|
|
|
|
2020-06-20 17:04:15 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2020-06-27 18:22:10 +00:00
|
|
|
os: [ubuntu-20.04, 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 linux libraries
|
2020-06-27 18:22:10 +00:00
|
|
|
if: ${{ matrix.os == 'ubuntu-20.04' }}
|
|
|
|
run: sudo apt-get update && sudo apt-get -y install libglfw3-dev libgtk2.0-dev libcapstone-dev libtbb-dev
|
2020-06-20 17:04:15 +00:00
|
|
|
- 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
|
2020-06-20 17:04:15 +00:00
|
|
|
run: make -j -C profiler/build/unix debug release
|
2020-05-05 23:09:06 +00:00
|
|
|
- name: Update utility
|
2020-06-20 17:04:15 +00:00
|
|
|
run: make -j -C update/build/unix debug release
|
2020-05-05 23:09:06 +00:00
|
|
|
- name: Capture utility
|
2020-06-20 17:04:15 +00:00
|
|
|
run: make -j -C capture/build/unix debug release
|
2020-07-11 12:56:48 +00:00
|
|
|
- name: Csvexport utility
|
|
|
|
run: make -j -C csvexport/build/unix debug release
|
2020-06-24 00:08:03 +00:00
|
|
|
- name: Import-chrome utility
|
|
|
|
run: make -j -C import-chrome/build/unix debug release
|
2020-05-05 23:09:06 +00:00
|
|
|
- name: Library
|
2020-06-20 17:04:15 +00:00
|
|
|
run: make -j -C library/unix debug release
|
2020-05-05 23:09:06 +00:00
|
|
|
- name: Test application
|
|
|
|
run: |
|
2020-06-20 17:04:15 +00:00
|
|
|
make -j -C test
|
|
|
|
make -j -C test clean
|
|
|
|
make -j -C test TRACYFLAGS=-DTRACY_ON_DEMAND
|