-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 796 Bytes
/
ubuntu.yml
File metadata and controls
35 lines (30 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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