Update and rename platform-build.yml to macOS-build.yml

This commit is contained in:
Jonathan Moallem 2020-11-22 03:03:13 +11:00 committed by GitHub
parent 1f06050461
commit 01255a4947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 34 deletions

16
.github/workflows/macOS-build.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Platform Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
macOS-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: make
run: make

View File

@ -1,34 +0,0 @@
name: Platform Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
macOS-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: make
run: make
ubuntu-build:
runs-on: ubuntu-20.04
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
run: make
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: make
run: mingw32-make