add slstatus #64
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/C++ CI | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
/var/cache/apt/archives | |
key: ${{ runner.os }}-apt-${{ hashFiles('**/Makefile') }} | |
restore-keys: | | |
${{ runner.os }}-apt- | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxft-dev libxinerama-dev | |
- name: Build | |
run: make | |
continue-on-error: true | |
- name: Check Build Failure | |
if: ${{ failure() }} | |
run: echo "Build failed. Investigate the logs for details." && exit 1 |