Skip to content

Commit

Permalink
try with pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
snmsts committed Sep 24, 2024
1 parent 391c9df commit 2a223b6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/solaris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
ros install snmsts/sn.github
make latest-version zstd sbcl
sed -i "s/-lzstd/-Wl,-Bstatic -lzstd -Wl,-Bdynamic/g" sbcl/src/runtime/Config.x86*-sunos
- name: Build on ${{ matrix.os }}
- name: Build on omnios
if: ${{ matrix.os == 'omnios' }}
uses: vmactions/omnios-vm@v1
with:
Expand All @@ -65,15 +65,22 @@ jobs:
ros install sbcl-bin/2.3.0
ros run -- --version
gmake latest-version compile archive
- name: Build on ${{ matrix.os }}
- name: Build on solaris
if: ${{ matrix.os == 'solaris' }}
uses: vmactions/solaris-vm@v1
with:
release: "11.4-gcc"
envs: 'SBCL_OPTIONS ARCH'
usesh: true
prepare: |
env
pkg publisher solaris
beadm list
pkg info entire
pkg list -af entire
pkg list -af gcc-7
pkg list -af gcc-11
pkg install -v --accept developer/[email protected]
pkgutil -y -i automake autoconf autoconf_archive libtool pkgconfig libcppunit1_12_1 libcppunit_dev gsed ggrep
run: |
sudo bash -c 'cd zstd/lib;gmake PREFIX=/usr CFLAGS="-fPIC -m32" libzstd.a-release;cp libzstd.a /usr/lib;cp *.h /usr/include'
sudo bash -c 'cd zstd/lib;gmake PREFIX=/usr LIBDIR=/usr/lib/amd64 CFLAGS="-fPIC" clean libzstd.a-release;cp libzstd.a /usr/lib/amd64'
Expand Down

0 comments on commit 2a223b6

Please sign in to comment.