Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ on:

jobs:
pre-flight-check:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: ./tools/scripts/clang_format.sh check

build-test-ubuntu:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: pre-flight-check
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- run: ./tools/ci/run-integration-test.sh

build-test-ubuntu-with-sanitizers-gcc-latest:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: pre-flight-check
steps:
- uses: egor-tensin/setup-gcc@v1.3
Expand All @@ -80,7 +80,7 @@ jobs:
- run: ./tools/ci/build-test-ubuntu-with-sanitizers.sh gcc

build-test-ubuntu-with-sanitizers-clang-latest:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: pre-flight-check
steps:
- uses: egor-tensin/setup-clang@v1
Expand All @@ -100,7 +100,7 @@ jobs:
- run: ./tools/ci/build-test-macos-with-sanitizers.sh

coverage-and-docs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: pre-flight-check
steps:
- uses: actions/checkout@v4
Expand Down
16 changes: 5 additions & 11 deletions tools/ci/build-test-macos-with-sanitizers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,14 @@ $(clang --version)"

msg "building and installing dependencies"
# tinfo library which is required by iceoryx_introspection isn't available in mac
brew install ncurses wget
mkdir -p bison_build
cd bison_build
wget https://ftp.gnu.org/gnu/bison/bison-3.5.1.tar.gz
tar -xvf bison-3.5.1.tar.gz
cd bison-3.5.1
./configure
make
sudo make install
brew install ncurses bison
cd "${WORKSPACE}"

msg "building sources"
export LDFLAGS="-L/usr/local/opt/ncurses/lib"
export CFLAGS="-I/usr/local/opt/ncurses/include"
export PATH="$(brew --prefix bison)/bin:$PATH"
export LDFLAGS="$LDFLAGS -L/usr/local/opt/bison/lib"
export LDFLAGS="$LDFLAGS -L/usr/local/opt/ncurses/lib"
export CFLAGS="$CFLAGS -I/usr/local/opt/ncurses/include"
./tools/iceoryx_build_test.sh build-strict build-all sanitize

msg "running tests (excluding timing_tests)"
Expand Down
Loading