Skip to content

btreeBlock

btreeBlock #31

Workflow file for this run

# Test 2024-11-09 at 00:30:54
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: [Btree, Test]
steps:
- uses: actions/checkout@v4
with:
ref: 'main'
- name: 'JDK 22'
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
- name: Install Tree
run:
sudo apt install tree
- name: Position files in package
run: |
mkdir -p com/AppaApps/Silicon
cp `find . -name "*.java"` com/AppaApps/Silicon
- name: Files
run:
tree
- name: Compile
run: |
javac -g -d Classes -cp Classes `find com/AppaApps/Silicon -name "*.java"`
- name: Test Btree
if: matrix.task == 'Btree'
run: |
java -cp Classes com/AppaApps/Silicon/Btree
- name: Test Test
if: matrix.task == 'Test'
run: |
java -cp Classes com/AppaApps/Silicon/Test