File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments