Skip to content

Commit

Permalink
ubuntu package name
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyTinni committed Mar 1, 2024
1 parent 730610f commit 2a54e39
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ jobs:
matrix:
os: [ubuntu-latest]
build_type: [Release]
cpp_compiler: [gcc, clang]
cpp_compiler: [gcc, clang++]
boost_defitinion: ["", "-DTYTI_PYLOGHOOK_USE_BOOST"]
include:
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
#include:
# - os: ubuntu-latest
# c_compiler: gcc
# cpp_compiler: g++
# - os: ubuntu-latest
# c_compiler: clang
# cpp_compiler: clang++

steps:
- uses: actions/checkout@v4

- name: Install depdencies
run: |
sudo apt-get -y update
sudo apt-get -y install libboost-all-dev python-pybind11
sudo apt-get -y install libboost-all-dev pybind11
- name: Set reusable strings
id: strings
Expand All @@ -44,7 +44,6 @@ jobs:
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
${{ matrix.boost_defitinion }}
-S ${{ github.workspace }}
Expand Down

0 comments on commit 2a54e39

Please sign in to comment.