Changeset 57dec86 in mod_gnutls


Ignore:
Timestamp:
Jan 29, 2020, 10:00:15 AM (9 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
ee6351d
Parents:
8c63a1c
Message:

CI: Use matrix instead of container-specific jobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .github/workflows/build.yml

    r8c63a1c r57dec86  
    88      - 'pristine-tar'
    99jobs:
    10   debian-buster:
     10  build:
     11    strategy:
     12      matrix:
     13        container:
     14          - 'debian:buster'
     15          - 'fedora:31'
    1116    runs-on: ubuntu-latest
    12     container: debian:buster
     17    container: ${{ matrix.container }}
     18    name: ${{ matrix.container }}
    1319    steps:
    1420      - uses: actions/checkout@v2
    15       - name: network overview
    16         run: |
    17           ip addr show
    18           cat /etc/hosts
    19       - name: install dependencies
     21      - name: install dependencies (Debian)
     22        if: startsWith(matrix.container, 'debian')
    2023        run: |
    2124          apt-get update
    2225          apt-get -y install python3-yaml apache2-bin apache2-dev curl gnutls-bin libapr1-dev libgnutls28-dev openssl pandoc pkg-config procps softhsm2
    23       - name: autoreconf
    24         run: autoreconf -fiv
    25       - name: configure
    26         run: TEST_IP=127.0.0.1 ./configure
    27       - name: store config.log
    28         uses: actions/upload-artifact@v1
    29         if: failure()
    30         with:
    31           name: buster-config-log
    32           path: config.log
    33       - name: make
    34         run: make
    35       - name: set mutex
    36         run: |
    37           echo "Mutex pthread default" >test/apache-conf/github_mutex.conf
    38       - name: make check
    39         run: VERBOSE=1 make check
    40       - name: store Apache logs
    41         uses: actions/upload-artifact@v1
    42         if: failure() || cancelled()
    43         with:
    44           name: buster-apache-logs
    45           path: test/logs/
    46       - name: store test log if cancelled
    47         uses: actions/upload-artifact@v1
    48         if: cancelled()
    49         with:
    50           name: buster-test-log
    51           path: test/test-00_basic.log
    52   fedora-31:
    53     runs-on: ubuntu-latest
    54     container: fedora:31
    55     steps:
    56       - uses: actions/checkout@v2
    57       - name: install dependencies
     26      - name: install dependencies (Fedora)
     27        if: startsWith(matrix.container, 'fedora')
    5828        run: |
    5929          dnf -y group install "C Development Tools and Libraries"
     
    7141        if: failure()
    7242        with:
    73           name: fedora-config-log
     43          name: ${{ matrix.container }}-config-log
    7444          path: config.log
    7545      - name: make
     
    8454        if: failure() || cancelled()
    8555        with:
    86           name: fedora-apache-logs
     56          name: ${{ matrix.container }}-apache-logs
    8757          path: test/logs/
    8858      - name: store test log if cancelled
     
    9060        if: cancelled()
    9161        with:
    92           name: fedora-test-log
     62          name: ${{ matrix.container }}-test-log
    9363          path: test/test-00_basic.log
Note: See TracChangeset for help on using the changeset viewer.