Support for pipe menus #37
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
# A GitHub Actions port of the old .build.yml. This has the advantage of being | |
# able to use GitHub actions, contexts, secrets, etc, to do more in the future | |
# than merely check whether a build succeeds or fails. It also allows to see | |
# whether builds succeed or fail on forks, which also has its advantages. | |
# | |
# The disadvantage is that it's less portable than .build.yml, which will work | |
# on at least GitHub, GitLab, and SourceHut, where GitHub Actions only work on | |
# GitHub. | |
# | |
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: alpine:edge | |
steps: | |
- name: packages | |
run: | | |
apk add clang gcc libevdev-dev libinput-dev libxkbcommon-dev libxml2-dev meson musl-dev wayland-dev wayland-protocols wlroots-dev xwayland | |
# actions/checkout@v4 clones the repository | |
- uses: actions/checkout@v4 | |
- name: build-gcc | |
run: | | |
CC=gcc meson setup build-gcc | |
ninja -C build-gcc | |
- name: build-clang | |
run: | | |
CC=clang meson setup build-clang | |
ninja -C build-clang |