Skip to content

Commit a4a3505

Browse files
committed
Test
1 parent 3152334 commit a4a3505

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/workflows/call_build_native.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,33 @@ jobs:
1111
build-native:
1212
uses: atraplet/clarabel4j-native/.github/workflows/build_native.yml@feature/add_native_build
1313

14-
download:
14+
build:
1515
runs-on: ubuntu-latest
1616
needs: [ build-native ]
1717
steps:
18+
- uses: actions/checkout@v4
1819
- name: Download libraries
1920
uses: actions/download-artifact@v4
2021
with:
21-
path: build
22-
merge-multiple: true
22+
name: libclarabel_c.so
23+
path: src/main/resources/natives/linux_64
2324
- name: Check
2425
shell: bash
2526
run: |
2627
cd build
27-
ls -la
28+
pwd
29+
ls -la ./
30+
ls -la ./src/main/resources/natives/linux_64
31+
- name: Get JDK version from Maven project
32+
shell: bash
33+
run: |
34+
JDK_VERSION=$(mvn help:evaluate -Dexpression=maven.compiler.source -q -DforceStdout)
35+
echo "JDK_VERSION=$JDK_VERSION" >> $GITHUB_ENV
36+
- name: Set up JDK
37+
uses: actions/setup-java@v4
38+
with:
39+
java-version: ${{ env.JDK_VERSION }}
40+
distribution: 'temurin'
41+
cache: maven
42+
- name: Build with Maven
43+
run: mvn -B clean verify --file pom.xml

0 commit comments

Comments
 (0)