raylib-cpp-template/.github/workflows/ubuntu.yml
2021-03-26 22:50:44 +11:00

30 lines
673 B
YAML

name: Ubuntu
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: update apt
run: sudo apt-get update
- name: install raylib dependencies
run: sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
- name: make setup
run: make setup
- name: make bin/app
run: make bin/app
- name: make clean
run: make clean
- name: make bin/app CXX=g++
run: make bin/app CXX=g++
- name: make clean
run: make clean