|
| 1 | +name: Tcl/SSL Versions |
| 2 | + |
| 3 | +on: |
| 4 | + pull_request: |
| 5 | + branches: [ develop ] |
| 6 | + push: |
| 7 | + branches: [ develop ] |
| 8 | + |
| 9 | +jobs: |
| 10 | + tcl-versions: |
| 11 | + name: Tcl Versions |
| 12 | + strategy: |
| 13 | + matrix: |
| 14 | + tcl_version: [ '8.5.19', '8.6.14', '8.7a5', '9.0.0' ] |
| 15 | + continue-on-error: true |
| 16 | + runs-on: ubuntu-latest |
| 17 | + steps: |
| 18 | + - uses: actions/checkout@v4 |
| 19 | + - name: install dependencies |
| 20 | + run: sudo apt-get update && sudo apt-get install openssl libssl-dev |
| 21 | + - uses: actions/cache@v4 |
| 22 | + id: tcl-cache |
| 23 | + with: |
| 24 | + path: ~/tcl |
| 25 | + key: ${{ runner.os }}-tcl-${{ matrix.tcl_version }} |
| 26 | + - name: Build Tcl |
| 27 | + if: steps.tcl-cache.outputs.cache-hit != 'true' |
| 28 | + run: | |
| 29 | + wget http://prdownloads.sourceforge.net/tcl/tcl${{ matrix.tcl_version }}-src.tar.gz && \ |
| 30 | + tar xzf tcl${{ matrix.tcl_version }}-src.tar.gz && \ |
| 31 | + cd tcl${{ matrix.tcl_version }}/unix && \ |
| 32 | + ./configure --prefix=$HOME/tcl && \ |
| 33 | + make -j4 && make install |
| 34 | + - uses: ammaraskar/gcc-problem-matcher@master |
| 35 | + - name: Build |
| 36 | + run: | |
| 37 | + ./configure --with-tcl=$HOME/tcl/lib | tee configure.log |
| 38 | + LD_LIBRARY_PATH=$HOME/tcl/lib make config eggdrop |
| 39 | + fgrep -q "Tcl version: ${{ matrix.tcl_version }}" configure.log |
| 40 | + ssl-version-098: |
| 41 | + name: OpenSSL 0.9.8 |
| 42 | + continue-on-error: true |
| 43 | + runs-on: ubuntu-latest |
| 44 | + steps: |
| 45 | + - uses: actions/checkout@v4 |
| 46 | + with: |
| 47 | + path: 'eggdrop' |
| 48 | + - name: install dependencies |
| 49 | + run: sudo apt-get update && sudo apt-get install tcl tcl-dev |
| 50 | + - uses: actions/cache@v4 |
| 51 | + id: ssl-cache |
| 52 | + with: |
| 53 | + path: ~/ssl |
| 54 | + key: ${{ runner.os }}-ssl-0.9.8zh |
| 55 | + - name: Build OpenSSL |
| 56 | + if: steps.ssl-cache.outputs.cache-hit != 'true' |
| 57 | + run: | |
| 58 | + wget https://www.openssl.org/source/old/0.9.x/openssl-0.9.8zh.tar.gz && \ |
| 59 | + sha256sum --status --check <(echo f1d9f3ed1b85a82ecf80d0e2d389e1fda3fca9a4dba0bf07adbf231e1a5e2fd6 openssl-0.9.8zh.tar.gz) && \ |
| 60 | + tar xzf openssl-0.9.8zh.tar.gz && \ |
| 61 | + cd openssl-0.9.8zh && ./config --prefix=$HOME/ssl -fPIC && make -j4 && make install_sw |
| 62 | + - uses: ammaraskar/gcc-problem-matcher@master |
| 63 | + - name: Build |
| 64 | + run: | |
| 65 | + cd $GITHUB_WORKSPACE/eggdrop |
| 66 | + ./configure --with-sslinc=$HOME/ssl/include --with-ssllib=$HOME/ssl/lib | tee configure.log |
| 67 | + LD_LIBRARY_PATH=$HOME/ssl/lib make config eggdrop |
| 68 | + fgrep -q "SSL/TLS Support: yes" configure.log |
| 69 | + ssl-version-10: |
| 70 | + name: OpenSSL 1.0 |
| 71 | + continue-on-error: true |
| 72 | + runs-on: ubuntu-latest |
| 73 | + steps: |
| 74 | + - uses: actions/checkout@v4 |
| 75 | + with: |
| 76 | + path: 'eggdrop' |
| 77 | + - name: install dependencies |
| 78 | + run: sudo apt-get update && sudo apt-get install tcl tcl-dev |
| 79 | + - uses: actions/cache@v4 |
| 80 | + id: ssl-cache |
| 81 | + with: |
| 82 | + path: ~/ssl |
| 83 | + key: ${{ runner.os }}-ssl-1.0.2u |
| 84 | + - name: Build OpenSSL |
| 85 | + if: steps.ssl-cache.outputs.cache-hit != 'true' |
| 86 | + run: | |
| 87 | + wget https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz && \ |
| 88 | + sha256sum --status --check <(echo ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16 openssl-1.0.2u.tar.gz) && \ |
| 89 | + tar xzf openssl-1.0.2u.tar.gz && \ |
| 90 | + cd openssl-1.0.2u && ./config --prefix=$HOME/ssl -fPIC && make -j4 && make install_sw |
| 91 | + - uses: ammaraskar/gcc-problem-matcher@master |
| 92 | + - name: Build |
| 93 | + run: | |
| 94 | + cd $GITHUB_WORKSPACE/eggdrop |
| 95 | + ./configure --with-sslinc=$HOME/ssl/include --with-ssllib=$HOME/ssl/lib | tee configure.log |
| 96 | + LD_LIBRARY_PATH=$HOME/ssl/lib make config eggdrop |
| 97 | + fgrep -q "SSL/TLS Support: yes" configure.log |
| 98 | + ssl-version-11: |
| 99 | + name: OpenSSL 1.1 |
| 100 | + continue-on-error: true |
| 101 | + runs-on: ubuntu-latest |
| 102 | + steps: |
| 103 | + - uses: actions/cache@v4 |
| 104 | + id: ssl-cache |
| 105 | + with: |
| 106 | + path: ~/ssl |
| 107 | + key: ${{ runner.os }}-ssl-1.1.1w |
| 108 | + - uses: actions/checkout@v4 |
| 109 | + if: steps.ssl-cache.outputs.cache-hit != 'true' |
| 110 | + with: |
| 111 | + repository: openssl/openssl |
| 112 | + ref: 'OpenSSL_1_1_1w' |
| 113 | + path: 'openssl' |
| 114 | + - name: Build OpenSSL |
| 115 | + if: steps.ssl-cache.outputs.cache-hit != 'true' |
| 116 | + run: | |
| 117 | + cd $GITHUB_WORKSPACE/openssl && ./config --prefix=$HOME/ssl && make -j4 && make install_sw |
| 118 | + - name: install dependencies |
| 119 | + run: sudo apt-get update && sudo apt-get install tcl tcl-dev |
| 120 | + - uses: actions/checkout@v4 |
| 121 | + with: |
| 122 | + path: 'eggdrop' |
| 123 | + - uses: ammaraskar/gcc-problem-matcher@master |
| 124 | + - name: Build |
| 125 | + run: | |
| 126 | + cd $GITHUB_WORKSPACE/eggdrop |
| 127 | + ./configure --with-sslinc=$HOME/ssl/include --with-ssllib=$HOME/ssl/lib | tee configure.log |
| 128 | + LD_LIBRARY_PATH=$HOME/ssl/lib make config eggdrop |
| 129 | + fgrep -q "SSL/TLS Support: yes" configure.log |
| 130 | + ssl-versions-3x: |
| 131 | + name: OpenSSL 3.x |
| 132 | + strategy: |
| 133 | + matrix: |
| 134 | + ssl_version: [ '3.0', '3.1', '3.2', '3.3' ] |
| 135 | + continue-on-error: true |
| 136 | + runs-on: ubuntu-latest |
| 137 | + steps: |
| 138 | + - uses: oprypin/find-latest-tag@v1 |
| 139 | + with: |
| 140 | + repository: openssl/openssl |
| 141 | + releases-only: true |
| 142 | + prefix: 'openssl-' |
| 143 | + regex: "${{ matrix.ssl_version }}.[0-9]+" |
| 144 | + sort-tags: true |
| 145 | + id: openssl |
| 146 | + - uses: actions/cache@v4 |
| 147 | + id: ssl-cache |
| 148 | + with: |
| 149 | + path: ~/ssl |
| 150 | + key: ${{ runner.os }}-ssl-${{ steps.openssl.outputs.tag }} |
| 151 | + - uses: actions/checkout@v4 |
| 152 | + if: steps.ssl-cache.outputs.cache-hit != 'true' |
| 153 | + with: |
| 154 | + repository: openssl/openssl |
| 155 | + ref: ${{ steps.openssl.outputs.tag }} |
| 156 | + path: 'openssl' |
| 157 | + - name: Build OpenSSL |
| 158 | + if: steps.ssl-cache.outputs.cache-hit != 'true' |
| 159 | + run: | |
| 160 | + cd $GITHUB_WORKSPACE/openssl && ./config --prefix=$HOME/ssl && make -j4 && make install_sw |
| 161 | + - uses: actions/checkout@v4 |
| 162 | + with: |
| 163 | + path: 'eggdrop' |
| 164 | + - name: install dependencies |
| 165 | + run: sudo apt-get update && sudo apt-get install tcl tcl-dev |
| 166 | + - uses: ammaraskar/gcc-problem-matcher@master |
| 167 | + - name: Build |
| 168 | + run: | |
| 169 | + cd $GITHUB_WORKSPACE/eggdrop |
| 170 | + ./configure --with-sslinc=$HOME/ssl/include --with-ssllib=$HOME/ssl/lib64 | tee configure.log |
| 171 | + LD_LIBRARY_PATH=$HOME/ssl/lib64 make config eggdrop |
| 172 | + fgrep -q "SSL/TLS Support: yes" configure.log |
0 commit comments