Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/pulseaudio-module-xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt335672 <30179339+matt335672@users.noreply.github.com>2021-10-11 22:01:10 +0300
committermatt335672 <30179339+matt335672@users.noreply.github.com>2021-10-11 22:34:05 +0300
commit345ed66fabd5e7550e82e0a213caf6d382c71c85 (patch)
tree42e644cf1516aeac61fdba90df04181d5a18676f
parent95c96f86d6e24b6401561a191231e24352f8c01d (diff)
Add extra compiler and separate out cache stage
-rw-r--r--.github/workflows/build.yml35
1 files changed, 33 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 20c661c..5090b81 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -4,8 +4,8 @@ on:
pull_request:
jobs:
- build:
- name: build
+ install_pa_sources:
+ name: install PA sources
runs-on: ubuntu-latest
steps:
# This is currently the only way to get a version into
@@ -21,6 +21,37 @@ jobs:
path: ~/pulseaudio.src
key: ${{ runner.os }}-${{ env.OS_VERSION }}-build-${{ env.cache-name }}
- run: scripts/install_pulseaudio_sources.sh
+
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+
+ - CC: gcc
+
+ - CC: clang
+
+ name: build with ${{ matrix.CC }}
+ runs-on: ubuntu-latest
+ needs: install_pa_sources
+ env:
+ CC: ${{ matrix.CC }}
+ CFLAGS: -Wall -Wextra -Werror
+
+ steps:
+ # This is currently the only way to get a version into
+ # the cache tag name - see https://github.com/actions/cache/issues/543
+ - run: |
+ echo "OS_VERSION=`lsb_release -sr`" >> $GITHUB_ENV
+ - name: Fetch pulseaudio sources
+ uses: actions/cache@v2
+ env:
+ cache-name: cache-pulseaudio-src
+ with:
+ path: ~/pulseaudio.src
+ key: ${{ runner.os }}-${{ env.OS_VERSION }}-build-${{ env.cache-name }}
+ - uses: actions/checkout@v2
- run: sudo apt-get update
- run: sudo apt-get -yq install build-essential libpulse-dev
- run: ./bootstrap