From e0dd1865ffd83c5ca30eeae8b6681c1ee6b6e9e1 Mon Sep 17 00:00:00 2001 From: Sevan Janiyan Date: Sat, 1 Apr 2023 02:08:11 +0100 Subject: [PATCH] .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 --- .github/workflows/actions.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/actions.yaml 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