Annotation of embedaddon/miniupnpd/.github/workflows/main.yml, revision 1.1.1.1

1.1       misho       1: # This is a basic workflow to help you get started with Actions
                      2: 
                      3: name: miniupnpc, minissdpd
                      4: 
                      5: # Controls when the action will run. Triggers the workflow on push or pull request
                      6: # events but only for the master branch
                      7: on:
                      8:   push:
                      9:     paths:
                     10:     - 'miniupnpc/**'
                     11:     - 'minissdpd/**'
                     12:     - '.github/workflows/main.yml'
                     13:   pull_request:
                     14:     branches: [ master ]
                     15: 
                     16: # A workflow run is made up of one or more jobs that can run sequentially or in parallel
                     17: jobs:
                     18:   build-miniupnpc:
                     19:     # The type of runner that the job will run on
                     20:     runs-on: ubuntu-latest
                     21: 
                     22:     # Steps represent a sequence of tasks that will be executed as part of the job
                     23:     steps:
                     24:       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                     25:       - uses: actions/checkout@v3
                     26: 
                     27:       - name: build miniupnpc with make
                     28:         run: make -C miniupnpc all check
                     29: 
                     30:       - name: install miniupnpc with make
                     31:         run: make -C miniupnpc install DESTDIR=/tmp/miniupnpc_install
                     32: 
                     33:       - name: build miniupnpc with cmake
                     34:         run: mkdir miniupnpc/cmake-build && cd miniupnpc/cmake-build && cmake .. && make && make test
                     35: 
                     36:       - name: install miniupnpc with cmake
                     37:         run: cd miniupnpc/cmake-build && make DESTDIR=/tmp/miniupnpc_cmake_install install
                     38: 
                     39:   build-minissdpd:
                     40:     # The type of runner that the job will run on
                     41:     runs-on: ubuntu-latest
                     42: 
                     43:     # Steps represent a sequence of tasks that will be executed as part of the job
                     44:     steps:
                     45:       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                     46:       - uses: actions/checkout@v3
                     47: 
                     48:       - name: install packages
                     49:         run: sudo apt-get install libnfnetlink-dev
                     50: 
                     51:       - name: build minissdpd
                     52:         run: make -C minissdpd all check
                     53: 
                     54:       - name: install minissdpd
                     55:         run: make -C minissdpd DESTDIR=/tmp/minissdpd_install install

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>