]> git.ozlabs.org Git - ppp.git/commitdiff
ci: Used a Solaris VM with all needed build tools preinstalled. (#481)
authorAdrien RICCIARDI <RICCIARDI-Adrien@users.noreply.github.com>
Fri, 19 Apr 2024 09:00:10 +0000 (11:00 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Apr 2024 09:00:10 +0000 (19:00 +1000)
This avoids losing time updating the package cache and installing the needed packages.

This also avoids breaking the Solaris build if the Solaris mirrors are temporarily unavailable.

Signed-off-by: RICCIARDI-Adrien <adrien.ricciardi@hotmail.fr>
.github/workflows/solaris.yaml

index 7dc2f2e5787f13948fc2e1b18b511e815a1ca144..8d1f44803bbf5d1b6d9804c4e84640ad501db63d 100644 (file)
@@ -8,11 +8,10 @@ jobs:
     - name: Checkout PPP sources
       uses: actions/checkout@v3
     - name: Build
-      uses: vmactions/solaris-vm@v1.0.0
+      uses: vmactions/solaris-vm@v1.0.2
       with:
+        release: "11.4-gcc"
         run: |
-          pkg update
-          pkg install gcc automake autoconf libtool
           ./autogen.sh CFLAGS="-Wno-deprecated-declarations"
           make
           make install