@@ -17,30 +17,32 @@ jobs:
1717 LD_LIBRARY_PATH : " /usr/lib/x86_64-linux-gnu"
1818 strategy :
1919 matrix :
20- jdk : [8, 11, 17]
20+ jdk : [8, 11, 17, 21, 24 ]
2121 steps :
2222 - uses : actions/checkout@v2
2323 - name : Cache M2 local repository
24- uses : actions/cache@v2
24+ uses : actions/cache@v4
2525 with :
2626 path : ~/.m2/repository
2727 key : m2
2828 - name : Install dependencies
2929 run : |
3030 sudo apt-get -y update
31- sudo apt-get -y install libopenblas-dev libarpack2-dev gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu
31+ sudo apt-get -y install libopenblas-dev libarpack2-dev gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu gcc- x86-64-linux-gnu
3232 # Build with JDK 17
3333 - name : Set up JDK 17
34- uses : actions/setup-java@v1
34+ uses : actions/setup-java@v4
3535 with :
3636 java-version : 17
37+ distribution : temurin
3738 - name : Build
3839 run : mvn --batch-mode compile test-compile
3940 # Test with JDK ${{ matrix.jdk }}
4041 - name : Set up JDK ${{ matrix.jdk }}
41- uses : actions/setup-java@v1
42+ uses : actions/setup-java@v4
4243 with :
4344 java-version : ${{ matrix.jdk }}
45+ distribution : temurin
4446 - name : Test
4547 run : mvn --batch-mode --projects blas,lapack,arpack surefire:test
4648
@@ -54,19 +56,20 @@ jobs:
5456 steps :
5557 - uses : actions/checkout@v2
5658 - name : Cache M2 local repository
57- uses : actions/cache@v2
59+ uses : actions/cache@v4
5860 with :
5961 path : ~/.m2/repository
6062 key : m2
6163 - name : Install dependencies
6264 run : |
6365 sudo apt-get -y update
64- sudo apt-get -y install gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu
66+ sudo apt-get -y install gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu gcc- x86-64-linux-gnu
6567 - name : Set up JDK 17
66- uses : actions/setup-java@v1
68+ uses : actions/setup-java@v4
6769 with : # running setup-java again overwrites the settings.xml
6870 java-version : 17
69- server-id : ossrh
71+ distribution : temurin
72+ server-id : central
7073 server-username : MAVEN_USERNAME
7174 server-password : MAVEN_PASSWORD
7275 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
7679 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
7780 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
7881 - name : Upload Benchmarks
79- uses : actions/upload-artifact@v2
82+ uses : actions/upload-artifact@v4
8083 with :
8184 name : benchmarks
8285 path : benchmarks/target/netlib-benchmarks.jar
0 commit comments