btreeBlock #20
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 2024-11-06 at 00:35:13 | |
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 |