Skip to content

updated workflow checkout version #102

updated workflow checkout version

updated workflow checkout version #102

name: tinydnssec Ubuntu Mac OSX CI
on:
push:
paths:
- '**/tinydnssec-x/**'
- .github/workflows/tinydnssec-c-cpp.yml
- '!**/tinydnssec-x/tinydnssec.spec.in'
- '!**/tinydnssec-x/debian/*'
- '!**/doc/*'
- '!**.md'
workflow_dispatch:
jobs:
build:
name: ${{ matrix.host }}-${{ matrix.config.name }}
runs-on: ${{ matrix.host }}
strategy:
fail-fast: false
matrix:
host: [ubuntu-latest, macos-latest]
steps:
- name: extra_packages
run: |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig openssl libsodium libev; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g++ automake autoconf libtool libssl-dev libsodium-dev libev-dev; fi
env:
OS: ${{ matrix.host }}
- name: checkout_main
uses: actions/checkout@v4
with:
path: main
- name: checkout_qmail
uses: actions/checkout@v4
with:
repository: mbhangui/libqmail
path: libqmail
- name: install_qmail
run: cd libqmail;env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make; sudo make install-strip
- name: build_tinydnssec
run: cd main/tinydnssec-x; env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" ./default.configure; env CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.3.0/include" LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.3.0/lib" make
- name: build_dq
run: cd main/tinydnssec-x/dq-20161210; make
- name: build_curvedns
run: if [ "${OS}" = "ubuntu-latest" ] ; then cd main/tinydnssec-x/curvedns-0.88; env CPPFLAGS="-I/opt/homebrew/Cellar/libev/4.33/include -I/opt/homebrew/Cellar/libsodium/1.0.19/include/sodium" LDFLAGS="-L/opt/homebrew/Cellar/libev/4.33/lib -L/opt/homebrew/Cellar/libsodium/1.0.19/lib" ./default.configure; make; fi
env:
OS: ${{ matrix.host }}