Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomato committed Sep 9, 2023
1 parent e69c22b commit ed7b243
Showing 1 changed file with 66 additions and 52 deletions.
118 changes: 66 additions & 52 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,74 +4,88 @@ name: CI workflow
env:
CFLAGS: -fdiagnostics-color
jobs:
run-tests:
strategy:
matrix:
include:
- compiler: gcc
docs: true
sound: enabled
vapi: enabled
- compiler: gcc
docs: false
sound: disabled
vapi: disabled
- compiler: clang
docs: false
sound: enabled
vapi: disabled
runs-on: ubuntu-20.04
steps:
- name: install-deps
run: |
sudo apt-get update
sudo apt-get -y install \
bison \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-good \
gstreamer1.0-tools \
gtk-doc-tools \
libgirepository1.0-dev \
libgstreamer1.0-dev \
libgtk-3-dev \
meson \
texinfo \
valac
# run-tests:
# strategy:
# matrix:
# include:
# - compiler: gcc
# docs: true
# sound: enabled
# vapi: enabled
# - compiler: gcc
# docs: false
# sound: disabled
# vapi: disabled
# - compiler: clang
# docs: false
# sound: enabled
# vapi: disabled
# runs-on: ubuntu-20.04
# steps:
# - name: install-deps
# run: |
# sudo apt-get update
# sudo apt-get -y install \
# bison \
# gstreamer1.0-plugins-bad \
# gstreamer1.0-plugins-good \
# gstreamer1.0-tools \
# gtk-doc-tools \
# libgirepository1.0-dev \
# libgstreamer1.0-dev \
# libgtk-3-dev \
# meson \
# texinfo \
# valac

- uses: actions/checkout@v2
# - uses: actions/checkout@v2

- name: configure
run: |
CC=${{ matrix.compiler }} meson _build -Dgtk_doc=${{ matrix.docs }} \
-Dsound=${{ matrix.sound }} -Dvapi=${{ matrix.vapi }}
# - name: configure
# run: |
# CC=${{ matrix.compiler }} meson _build -Dgtk_doc=${{ matrix.docs }} \
# -Dsound=${{ matrix.sound }} -Dvapi=${{ matrix.vapi }}

- name: build
run: ninja -C _build
# - name: build
# run: ninja -C _build

- name: build-docs
if: matrix.docs
run: ninja -C _build chimara-doc
# - name: build-docs
# if: matrix.docs
# run: ninja -C _build chimara-doc

- name: test
run: xvfb-run -a meson test -C _build
# - name: test
# run: xvfb-run -a meson test -C _build

- name: print-test-log
if: ${{ failure() }}
run: cat _build/meson-logs/testlog.txt
# - name: print-test-log
# if: ${{ failure() }}
# run: cat _build/meson-logs/testlog.txt

sanitizer:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: install-deps
run: |
sudo apt-get update
sudo apt-get -y install \
sudo apt-get -y --allow-downgrades install \
gir1.2-gtk-3.0=3.24.33-1ubuntu1 \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-good \
gstreamer1.0-tools \
libgstreamer1.0-dev \
libgtk-3-dev \
meson
libgtk-3-0=3.24.33-1ubuntu1 \
libgtk-3-dev=3.24.33-1ubuntu1 \
libunwind-dev \
libxml2-utils \
meson \
ubuntu-dbgsym-keyring
- name: install-debug-symbols
run: |
sudo tee -a "/etc/apt/sources.list.d/ddebs.list" <<EOF
deb http://ddebs.ubuntu.com jammy main restricted universe multiverse
deb http://ddebs.ubuntu.com jammy-updates main restricted universe multiverse
EOF
sudo apt-get update
sudo apt-get -y install libgtk-3-0-dbgsym
- uses: actions/checkout@v2

Expand Down

0 comments on commit ed7b243

Please sign in to comment.