Skip to content

Commit 96f0c62

Browse files
authored
Update Action
1 parent 896eb5c commit 96f0c62

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,23 @@ jobs:
5151
SCALA_VERSION=$(cat SCALA_VERSION)
5252
echo SCALA_VERSION: $SCALA_VERSION
5353
echo "SCALA_VERSION=$SCALA_VERSION" >> $GITHUB_ENV
54+
55+
- name: Install Boehm GC
56+
if: ${{ matrix.name == 'linux' }}
57+
run: |
58+
sudo apt-get update
59+
sudo apt-get install -y libgc-dev
60+
61+
- name: Install Boehm GC (macOS)
62+
if: ${{ matrix.name == 'mac' }}
63+
run: |
64+
brew install bdw-gc
5465
5566
- name: Build native libraries for ${{ matrix.name }}-${{ matrix.arch }}
5667
run: |
5768
./sbt 'wvcLib/nativeLink'
5869
./sbt 'wvcLibStatic/nativeLink'
59-
FILEPATH=$(find . -name 'libwvlet.*')
70+
FILEPATH=$(find . -type f \( -name 'libwvlet.so' -o -name 'libwvlet.a' \))
6071
echo "Found $FILEPATH"
6172
mkdir -p out
6273
cp $FILEPATH ./out/

0 commit comments

Comments
 (0)