Fix reset of int options on option destructor #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test_musl_gcc: | |
name: "Test with with GCC/musl/libstdc++/BFD on Alpine Linux" | |
runs-on: ubuntu-latest | |
container: alpine:edge | |
steps: | |
- run: apk --no-cache add git gcc g++ binutils pkgconf meson ninja musl-dev wayland-dev wayland-protocols libinput-dev libevdev-dev libxkbcommon-dev pixman-dev glm-dev libdrm-dev mesa-dev cairo-dev pango-dev eudev-dev libxml2-dev glibmm-dev libseat-dev libdisplay-info-dev hwdata-dev nlohmann-json gtk+3.0-dev gtkmm3-dev | |
- name: Wayfire | |
uses: actions/checkout@v2 | |
with: | |
repository: WayfireWM/wayfire | |
path: wayfire | |
- run: cd wayfire && git submodule sync --recursive && git submodule update --init --force --recursive && meson build --prefix=/usr && ninja -v -Cbuild && ninja -v -Cbuild install && cd .. | |
- name: WCM | |
uses: actions/checkout@v2 | |
with: | |
repository: WayfireWM/wcm | |
path: wcm | |
- run: cd wcm && meson build --prefix=/usr && ninja -v -C build && ninja -v -C build install && cd .. | |
test_code_style: | |
name: "Check code style with uncrustify" | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y git cmake gcc make | |
- name: Build Uncrustify | |
uses: actions/checkout@v2 | |
with: | |
repository: ammen99/uncrustify | |
path: uncrustify | |
- run: cd uncrustify && mkdir build && cd build && cmake .. && make && cd ../.. | |
- name: Run Uncrustify Check | |
uses: actions/checkout@v2 | |
with: | |
path: wcm | |
- run: cd wcm && wget https://raw.githubusercontent.com/WayfireWM/wayfire/master/uncrustify.ini | |
- run: cd wcm && git ls-files | grep "hpp$\|cpp$" | xargs ../uncrustify/build/uncrustify -c uncrustify.ini --no-backup --replace | |
- run: cd wcm && git diff --exit-code |