Update README and add GitHub build workflow. #10
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-deb: | |
strategy: | |
matrix: | |
container: ['ubuntu:jammy', 'ubuntu:noble', 'debian:bookworm'] | |
runs-on: ubuntu-latest | |
container: ${{ matrix.container }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: apt-get update | |
- run: apt-get install -y build-essential pkg-config libx11-dev libgoogle-glog-dev | |
- run: make | |
- run: ls -lh ./basic_wm | |
build-rpm: | |
strategy: | |
matrix: | |
container: ['fedora:latest'] | |
runs-on: ubuntu-latest | |
container: ${{ matrix.container }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: yum install -y make gcc gcc-c++ libX11-devel glog-devel | |
- run: make | |
- run: ls -lh ./basic_wm | |
build-arch: | |
strategy: | |
matrix: | |
container: ['archlinux:latest'] | |
runs-on: ubuntu-latest | |
container: ${{ matrix.container }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pacman -Sy --noconfirm base-devel libx11 google-glog | |
- run: make | |
- run: ls -lh ./basic_wm |