Merge pull request #21 from return215/update-raylib #155
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: 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: 'export binary' | |
uses: actions/upload-artifact@v2 | |
with: | |
name: app | |
path: 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 |