aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSevan Janiyan <venture37@geeklan.co.uk>2023-04-01 02:08:11 +0100
committerDan Cross <crossd@gmail.com>2024-01-09 19:00:21 -0500
commite0dd1865ffd83c5ca30eeae8b6681c1ee6b6e9e1 (patch)
treea618c9a6c21323cf6f6ba510f28fec5791ee1554 /.github
parent897625ff9b8d718555baa408b05398ad178d986e (diff)
.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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/actions.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml
new file mode 100644
index 00000000..680037ee
--- /dev/null
+++ b/.github/workflows/actions.yaml
@@ -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