name: Gol CI # Run on the merge of a pull request to the main branch on: pull_request: branches: [main] push: branches: [main] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install dependencies run: | sudo apt-get update sudo apt-get install -y cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev - name: Build and test run: | mkdir build cd build cmake .. make