btreeBlock #501
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test 2025-01-10 at 00:07:21 | |
name: Test | |
run-name: btreeBlock | |
on: | |
push: | |
paths: | |
- '**/*' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
task: [Btree, BtreePA, BtreeSA, BtreeSML, BtreeSP, BtreeStuck, BtreeStuckStatic, If, Layout, Memory, MemoryLayout, MemoryLayoutPA, Program, ProgramPA, Stuck, StuckPA, StuckSA, StuckSML, StuckSP, StuckStatic, Test, Verilog] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'main' | |
- name: 'JDK 22' | |
uses: oracle-actions/setup-java@v1 | |
with: | |
website: jdk.java.net | |
- name: Verilog install | |
run: | | |
sudo apt install iverilog | |
- name: Compile | |
run: | | |
javac -g -d Classes *.java | |
- name: Test Btree | |
if: matrix.task == 'Btree' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/Btree | |
- name: Test BtreePA | |
if: matrix.task == 'BtreePA' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/BtreePA | |
- name: Test BtreeSA | |
if: matrix.task == 'BtreeSA' | |
run: | | |
# java -cp Classes com/AppaApps/Silicon/BtreeSA # Takes longer than BtreePA yet BtreePA is the desired end point | |
- name: Test BtreeSML | |
if: matrix.task == 'BtreeSML' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/BtreeSML | |
- name: Test BtreeSP | |
if: matrix.task == 'BtreeSP' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/BtreeSP | |
- name: Test BtreeStuck | |
if: matrix.task == 'BtreeStuck' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/BtreeStuck | |
- name: Test BtreeStuckStatic | |
if: matrix.task == 'BtreeStuckStatic' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/BtreeStuckStatic | |
- name: Test If | |
if: matrix.task == 'If' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/If | |
- name: Test Layout | |
if: matrix.task == 'Layout' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/Layout | |
- name: Test Memory | |
if: matrix.task == 'Memory' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/Memory | |
- name: Test MemoryLayout | |
if: matrix.task == 'MemoryLayout' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/MemoryLayout | |
- name: Test MemoryLayoutPA | |
if: matrix.task == 'MemoryLayoutPA' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/MemoryLayoutPA | |
- name: Test Program | |
if: matrix.task == 'Program' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/Program | |
- name: Test ProgramPA | |
if: matrix.task == 'ProgramPA' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/ProgramPA | |
- name: Test Stuck | |
if: matrix.task == 'Stuck' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/Stuck | |
- name: Test StuckPA | |
if: matrix.task == 'StuckPA' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/StuckPA | |
- name: Test StuckSA | |
if: matrix.task == 'StuckSA' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/StuckSA | |
- name: Test StuckSML | |
if: matrix.task == 'StuckSML' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/StuckSML | |
- name: Test StuckSP | |
if: matrix.task == 'StuckSP' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/StuckSP | |
- name: Test StuckStatic | |
if: matrix.task == 'StuckStatic' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/StuckStatic | |
- name: Test Test | |
if: matrix.task == 'Test' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/Test | |
- name: Test Verilog | |
if: matrix.task == 'Verilog' | |
run: | | |
java -cp Classes com/AppaApps/Silicon/Verilog | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: verilog | |
path: | | |
verilog/ | |
trace/ |