Skip to content

Commit

Permalink
.github/workflows/actions.yaml: Add
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sevan authored and dancrossnyc committed Jan 10, 2024
1 parent 897625f commit e0dd186
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e0dd186

Please sign in to comment.