.github/workflows/actions.yaml: Add

Basic configuration which builds p9p on latest Ubuntu & macOS.
Skipped on adding more operating systems as build would hold up
waiting for runners, whereas with -latest targets, build starts
immediately.
Supported runners can be found on
https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job
This commit is contained in:
Sevan Janiyan 2023-04-01 02:08:11 +01:00 committed by Dan Cross
parent 897625ff9b
commit e0dd1865ff

20
.github/workflows/actions.yaml vendored Normal file
View file

@ -0,0 +1,20 @@
name: GitHub Actions Build
run-name: ${{ github.actor }} triggered a build
on: [push]
jobs:
Build-on-Ubuntu:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Install build deps
run: |
sudo apt update
sudo apt install build-essential xorg-dev
- name: Build p9p
run: ./INSTALL
Build-on-macOS:
runs-on: [macos-latest]
steps:
- uses: actions/checkout@v3
- name: Build p9p
run: ./INSTALL