|
40 | 40 | HOMEPAGE: https://boinc.berkeley.edu/ |
41 | 41 | DESCRIPTION: BOINC lets you help cutting-edge science research using your computer. The BOINC app, running on your computer, downloads scientific computing jobs and runs them invisibly in the background. It's easy and safe. |
42 | 42 | BASEREPO: https://boinc.berkeley.edu/dl/linux # no trailing slash |
43 | | - AUTOCONF_WITH_VERSION: autoconf-2.70 |
| 43 | + AUTOCONF_WITH_VERSION: autoconf-2.73 |
| 44 | + BISON_WITH_VERSION: bison-3.8.2 |
44 | 45 |
|
45 | 46 | jobs: |
46 | 47 | prepare-binaries: |
|
65 | 66 | - name: Cache dependencies |
66 | 67 | uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae |
67 | 68 | with: |
68 | | - path: ${{ env.AUTOCONF_WITH_VERSION }}.tar.gz |
69 | | - key: ${{ env.AUTOCONF_WITH_VERSION }}.tar.gz |
| 69 | + path: | |
| 70 | + ${{ env.AUTOCONF_WITH_VERSION }}.tar.gz |
| 71 | + ${{ env.BISON_WITH_VERSION }}.tar.gz |
| 72 | + key: ${{ env.AUTOCONF_WITH_VERSION }}_${{ env.BISON_WITH_VERSION }} |
70 | 73 |
|
71 | 74 | - name: Check if build is running from origin repo |
72 | 75 | if: ${{ success() && env.AWS_ACCESS_KEY_ID != 0 && env.AWS_SECRET_ACCESS_KEY != 0 }} |
@@ -111,6 +114,19 @@ jobs: |
111 | 114 | cd .. |
112 | 115 | autoconf --version |
113 | 116 |
|
| 117 | + - name: Install updated version of bison |
| 118 | + run: | |
| 119 | + if [ ! -f ${{ env.BISON_WITH_VERSION }}.tar.gz ]; then |
| 120 | + curl https://ftp.gnu.org/gnu/bison/${{ env.BISON_WITH_VERSION }}.tar.gz -o ${{ env.BISON_WITH_VERSION }}.tar.gz |
| 121 | + fi |
| 122 | + tar -xzf ${{ env.BISON_WITH_VERSION }}.tar.gz |
| 123 | + cd ${{ env.BISON_WITH_VERSION }} |
| 124 | + ./configure --prefix=/usr |
| 125 | + make -j $(nproc --all) |
| 126 | + make install |
| 127 | + cd .. |
| 128 | + bison --version |
| 129 | +
|
114 | 130 | - name: Install aws cli tool |
115 | 131 | run: | |
116 | 132 | curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" |
@@ -238,7 +254,7 @@ jobs: |
238 | 254 | run: | |
239 | 255 | # Derive the package dependencies for the selected package / os / release combination selected |
240 | 256 | cd ${{ github.workspace }}/.github/workflows/debrepo/ |
241 | | - PKG_DEPS=$(bash package_depends.sh ${{ matrix.os }} linux_${{ matrix.type }}) |
| 257 | + PKG_DEPS=$(bash package_depends.sh ${{ matrix.os }} ${{ matrix.type }}) |
242 | 258 | echo "Dependencies: ${PKG_DEPS}" |
243 | 259 |
|
244 | 260 | # Produce the package DEB definition |
@@ -389,7 +405,7 @@ jobs: |
389 | 405 | if: ${{ success() && matrix.type == 'client' }} |
390 | 406 | run: | |
391 | 407 | # Derive the package dependencies for the selected package / os / release combination selected |
392 | | - PKG_DEPS=$(bash .github/workflows/rpmrepo/package_depends.sh ${{ matrix.os }} linux_${{ matrix.type }}) |
| 408 | + PKG_DEPS=$(bash .github/workflows/rpmrepo/package_depends.sh ${{ matrix.os }} ${{ matrix.type }}) |
393 | 409 | PKG_FILELIST=$(bash .github/workflows/rpmrepo/package_filelist.sh ${{ matrix.os }} linux_${{ matrix.type }}) |
394 | 410 | BOINCUSER=boinc |
395 | 411 | BOINCGROUP=boinc |
@@ -590,7 +606,7 @@ jobs: |
590 | 606 | if: ${{ success() && matrix.type == 'manager' }} |
591 | 607 | run: | |
592 | 608 | # Derive the package dependencies for the selected package / os / release combination selected |
593 | | - PKG_DEPS=$(bash .github/workflows/rpmrepo/package_depends.sh ${{ matrix.os }} linux_${{ matrix.type }}) |
| 609 | + PKG_DEPS=$(bash .github/workflows/rpmrepo/package_depends.sh ${{ matrix.os }} ${{ matrix.type }}) |
594 | 610 | PKG_FILELIST=$(bash .github/workflows/rpmrepo/package_filelist.sh ${{ matrix.os }} linux_${{ matrix.type }}) |
595 | 611 |
|
596 | 612 | cd rpmbuild |
@@ -755,8 +771,8 @@ jobs: |
755 | 771 | if: success() |
756 | 772 | run: | |
757 | 773 | apt update |
758 | | - apt install -y $(find ./ -type f -name "boinc-client*.deb" -printf "%p\n") |
759 | | - apt install -y $(find ./ -type f -name "boinc-manager*.deb" -printf "%p\n") |
| 774 | + DEBIAN_FRONTEND=noninteractive apt install -y $(find ./ -type f -name "boinc-client*.deb" -printf "%p\n") |
| 775 | + DEBIAN_FRONTEND=noninteractive apt install -y $(find ./ -type f -name "boinc-manager*.deb" -printf "%p\n") |
760 | 776 |
|
761 | 777 | - name: Run integration tests |
762 | 778 | if: success() |
@@ -851,8 +867,8 @@ jobs: |
851 | 867 | if: success() |
852 | 868 | run: | |
853 | 869 | apt update |
854 | | - apt install -y $(find ./ -type f -name "boinc-client*.deb" -printf "%p\n") |
855 | | - apt install -y $(find ./ -type f -name "boinc-manager*.deb" -printf "%p\n") |
| 870 | + DEBIAN_FRONTEND=noninteractive apt install -y $(find ./ -type f -name "boinc-client*.deb" -printf "%p\n") |
| 871 | + DEBIAN_FRONTEND=noninteractive apt install -y $(find ./ -type f -name "boinc-manager*.deb" -printf "%p\n") |
856 | 872 |
|
857 | 873 | - name: Run integration tests |
858 | 874 | if: success() |
|
0 commit comments