Skip to content

Commit 1945ae4

Browse files
committed
Split actions into ARM / Intel
1 parent 91142e4 commit 1945ae4

File tree

2 files changed

+103
-1
lines changed

2 files changed

+103
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
runner: ["ubuntu-latest","ubuntu-24.04-arm"]
15+
runner: ["ubuntu-24.04-arm"]
1616
runs-on: ${{ matrix.runner }}
1717
steps:
1818
- name: "Checkout openssl"

.github/workflows/intel.yaml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
on:
2+
- "pull_request"
3+
- "push"
4+
5+
permissions:
6+
contents: "read"
7+
checks: write
8+
pull-requests: write
9+
10+
jobs:
11+
build_openssl:
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
runner: ["ubuntu-latest"]
16+
runs-on: ${{ matrix.runner }}
17+
steps:
18+
- name: "Checkout openssl"
19+
uses: "actions/checkout@v5"
20+
with:
21+
repository: "openssl/openssl"
22+
ref: "openssl-3.6"
23+
persist-credentials: false
24+
path: "openssl"
25+
- name: "Build openssl"
26+
working-directory: "openssl"
27+
run: |
28+
./config --prefix=$(pwd)/dist
29+
make -j
30+
make install_sw
31+
- name: "Checkout jostle"
32+
uses: "actions/checkout@v5"
33+
with:
34+
persist-credentials: false
35+
path: "jostle"
36+
- uses: "actions/setup-java@v5"
37+
with:
38+
distribution: "corretto"
39+
java-version: '8'
40+
- uses: "actions/setup-java@v5"
41+
with:
42+
distribution: "corretto"
43+
java-version: '17'
44+
- uses: "actions/setup-java@v5"
45+
with:
46+
distribution: "corretto"
47+
java-version: '21'
48+
- uses: "actions/setup-java@v5"
49+
with:
50+
distribution: "corretto"
51+
java-version: '25'
52+
- name: "Check Java version"
53+
run: |
54+
java -version
55+
- name: "Build headers"
56+
working-directory: "jostle"
57+
run: |
58+
./gradlew clean compileJava
59+
- name: "Build and install the interface"
60+
working-directory: "jostle"
61+
env:
62+
JOSTLE_OPS_TEST: "true"
63+
OPENSSL_PREFIX: "${{ github.workspace }}/openssl/dist"
64+
run: |
65+
./interface/build.sh
66+
- name: "Build jar"
67+
working-directory: "jostle"
68+
env:
69+
BC_JDK8: "${{ env.JAVA_HOME_8_X64 }}${{ env.JAVA_HOME_8_ARM64 }}"
70+
BC_JDK17: "${{ env.JAVA_HOME_17_X64 }}${{ env.JAVA_HOME_17_ARM64 }}"
71+
BC_JDK21: "${{ env.JAVA_HOME_21_X64 }}${{ env.JAVA_HOME_21_ARM64 }}"
72+
BC_JDK25: "${{ env.JAVA_HOME_25_X64 }}${{ env.JAVA_HOME_25_ARM64 }}"
73+
run: |
74+
./gradlew clean build
75+
- name: Publish Test Report
76+
uses: mikepenz/action-junit-report@v5
77+
if: success() || failure() # always run even if the previous step fails
78+
with:
79+
check_name: |
80+
Unit Test
81+
Unit Test 8
82+
Unit Test 17
83+
Unit Test 21
84+
Unit Test 25 FFI
85+
Unit Test 25 JNI
86+
Integration Test 8
87+
Integration Test 17
88+
Integration Test 21
89+
Integration Test 25 FFI
90+
Integration Test 25 JNI
91+
report_paths: |
92+
**/build/test-results/test/TEST-*.xml
93+
**/build/test-results/unitTest8/TEST-*.xml
94+
**/build/test-results/unitTest17/TEST-*.xml
95+
**/build/test-results/unitTest21/TEST-*.xml
96+
**/build/test-results/unitTest25FFI/TEST-*.xml
97+
**/build/test-results/unitTest25JNI/TEST-*.xml
98+
**/build/test-results/integrationTest8/TEST-*.xml
99+
**/build/test-results/integrationTest17/TEST-*.xml
100+
**/build/test-results/integrationTest21/TEST-*.xml
101+
**/build/test-results/integrationTest25FFI/TEST-*.xml
102+
**/build/test-results/integrationTest25JNI/TEST-*.xml

0 commit comments

Comments
 (0)