add link to discussion about the 'bash' meson build option #133
Workflow file for this run
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -y --no-install-recommends libgtk2.0-dev libgtk-3-dev libvte-dev libvte-2.91-dev libgtk-layer-shell-dev | |
python3 -m pip install meson ninja | |
- name: Copy source | |
run: | | |
cp -r `pwd` ../gtk3-meson | |
cp -r `pwd` ../gtk3-autotools | |
cp -r `pwd` ../gtk2-autotools | |
- name: Meson build | |
run: | | |
meson --buildtype=release -Dgtkver=2 build | |
ninja -C build | |
DESTDIR=/tmp/meson-gtk2 ninja -C build install | |
cd ../gtk3-meson | |
meson --buildtype=release build | |
ninja -C build | |
meson configure build -Dbash=true | |
ninja -C build | |
DESTDIR=/tmp/meson-gtk3 ninja -C build install | |
- name: Autotools build | |
run: | | |
cd ../gtk2-autotools | |
./autogen.sh | |
make -j`nproc` | |
sudo DESTDIR=/tmp/autotools-gtk2 make install | |
cd ../gtk3-autotools | |
./autogen.sh --enable-gtk3 | |
make -j`nproc` | |
sudo DESTDIR=/tmp/autotools-gtk3 make install |