chore: add readme #32
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: C CI | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y xorg-dev libx11-dev libxft-dev libxinerama-dev git | |
- name: Clone and install tomlc99 | |
run: | | |
git clone https://github.com/cktan/tomlc99.git | |
cd tomlc99 | |
make | |
sudo make install | |
cd .. | |
rm -rf tomlc99 | |
- name: Check tomlc99 install | |
run: | | |
echo '#include <toml.h>' | gcc -xc -c -o /dev/null - && echo "tomlc99 installed successfully" | |
- name: Build AtlasWM | |
run: make atlaswm | |
- name: Clean | |
run: make clean |