-
Notifications
You must be signed in to change notification settings - Fork 1
84 lines (61 loc) · 1.57 KB
/
main.yml
File metadata and controls
84 lines (61 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Test 2025-05-06 at 03:03:22
name: Test
run-name: btreeBlock
on:
push:
paths:
- '**/main.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
permissions: write-all
runs-on: ubuntu-latest
strategy:
matrix:
task: [BtreeSF, BtreeBam, BtreeBan, Ban, BtreeBap]
steps:
- uses: actions/checkout@v4
with:
ref: 'main'
- name: 'JDK 24'
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
- name: Java release
run: |
java -version
- name: Verilog install
run: |
sudo apt install iverilog
- name: Verilog release
run: |
iverilog -V
- name: Position files in package
run: |
mkdir -p com/AppaApps/Silicon
cp *.java com/AppaApps/Silicon
- name: Java
run: |
javac -g -d Classes -cp Classes com/AppaApps/Silicon/*.java
- name: Test BtreeSF
if: matrix.task == 'BtreeSF'
run: |
java -cp Classes com/AppaApps/Silicon/BtreeSF
- name: Test BtreeBam
if: matrix.task == 'BtreeBam'
run: |
java -cp Classes com/AppaApps/Silicon/BtreeBam
- name: Test BtreeBan
if: matrix.task == 'BtreeBan'
run: |
java -cp Classes com/AppaApps/Silicon/BtreeBan
- name: Test Ban
if: matrix.task == 'Ban'
run: |
java -cp Classes com/AppaApps/Silicon/Ban
- name: Test BtreeBap
if: matrix.task == 'BtreeBap'
run: |
java -cp Classes com/AppaApps/Silicon/BtreeBap