diff options
author | Simonas Kazlauskas <git@kazlauskas.me> | 2020-06-20 20:04:15 +0300 |
---|---|---|
committer | Simonas Kazlauskas <git@kazlauskas.me> | 2020-06-20 20:44:55 +0300 |
commit | b03da81afa99913db177675c6936c8f8134b962f (patch) | |
tree | afbc2ff757d657a4ad6de73f37b936f2a547fab2 /.github | |
parent | 5ccd62ced8e98715b670d0af7179195297c710b7 (diff) |
Fix build on macos
It was broken by a110b420111ce02825fffaec29d08b5cc7b2168a.
In addition, adjust the CI definition to test builds on macOS.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/gcc.yml | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/.github/workflows/gcc.yml b/.github/workflows/gcc.yml index b6385868..bc1b287e 100644 --- a/.github/workflows/gcc.yml +++ b/.github/workflows/gcc.yml @@ -9,22 +9,30 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macOS-latest] steps: - uses: actions/checkout@v2 - - name: Install libraries + - name: Install linux libraries + if: ${{ matrix.os == 'ubuntu-latest' }} run: sudo apt-get update && sudo apt-get -y install libglfw3-dev libgtk2.0-dev libcapstone-dev + - name: Install macos libraries + if: ${{ matrix.os == 'macOS-latest' }} + run: brew install capstone tbb pkg-config glfw - name: Profiler GUI - run: make -C profiler/build/unix debug release + run: make -j -C profiler/build/unix debug release - name: Update utility - run: make -C update/build/unix debug release + run: make -j -C update/build/unix debug release - name: Capture utility - run: make -C capture/build/unix debug release + run: make -j -C capture/build/unix debug release - name: Library - run: make -C library/unix debug release + run: make -j -C library/unix debug release - name: Test application run: | - make -C test - make -C test clean - make -C test TRACYFLAGS=-DTRACY_ON_DEMAND + make -j -C test + make -j -C test clean + make -j -C test TRACYFLAGS=-DTRACY_ON_DEMAND |