From 71c5a24b2165ba266eb5082effe8f95e5fed0a13 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Fri, 19 Apr 2024 19:09:59 +0100 Subject: [PATCH] Add GitHub workflows for extra coverage This adds a workflow for building Unit under Fedora Rawhide. Rawhide is the development distribution for Fedora from which releases are cut. This usually consists of the latest versions of software and will hopefully catch new compiler issues and API breakages in the various languages we support. Signed-off-by: Andrew Clayton --- .github/workflows/ci-extras.yaml | 81 ++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 .github/workflows/ci-extras.yaml diff --git a/.github/workflows/ci-extras.yaml b/.github/workflows/ci-extras.yaml new file mode 100644 index 000000000..b2de35269 --- /dev/null +++ b/.github/workflows/ci-extras.yaml @@ -0,0 +1,81 @@ +name: ci-extras + +on: + push: + branches: master + paths: + - configure + - 'auto/**' + - 'src/**' + - 'test/**' + - '.github/workflows/ci-extras.yaml' + pull_request: + branches: master + paths: + - configure + - 'auto/**' + - 'src/**' + - 'test/**' + - '.github/workflows/ci-extras.yaml' + +jobs: + + fedora-rawhide: + runs-on: ubuntu-latest + + container: + image: fedora:rawhide + + steps: + - name: Install tools/deps + run: | + dnf -y update + dnf -y install which git gcc make pcre2-devel openssl-devel \ + python-unversioned-command python3 python3-devel \ + php-devel php-embedded perl-devel perl-ExtUtils-Embed \ + ruby-devel java-devel nodejs-devel nodejs-npm + npm install -g node-gyp + + - uses: actions/checkout@v4 + + - name: configure unit + run: ./configure --openssl + + - name: make unit + run: make -j 4 + + - name: configure unit-php + run: ./configure php + + - name: make unit-php + run: make -j 4 + + - name: configure unit-python + run: ./configure python + + - name: make unit-python + run: make -j 4 + + - name: configure unit-perl + run: ./configure perl + + - name: make unit-perl + run: make perl + + - name: configure unit-ruby + run: ./configure ruby + + - name: make unit-ruby + run: make ruby + + - name: configure unit-java + run: ./configure java + + - name: make unit-java + run: make java + + - name: configure unit-nodejs + run: ./configure nodejs + + - name: make unit-nodejs + run: make nodejs