Skip to content

Commit

Permalink
dropme: debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
grg-haas committed Jun 18, 2024
1 parent 842b92e commit 428975d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
build:
if: false
runs-on: ubuntu-latest

# Define the strategy for the build job. We generally want to cover each
Expand Down Expand Up @@ -339,6 +340,7 @@ jobs:

# Generic runtime tests, which only need to run once (on the host)
test-runtime-format:
if: false
runs-on: ubuntu-latest
steps:
# We don't need submodules here since Keystone is a monorepo!
Expand All @@ -355,6 +357,7 @@ jobs:
[ "$FORMAT_RESULT" = "no modified files to format" ] || [ "$FORMAT_RESULT" = "clang-format did not modify any files" ]
test-runtime-functionality:
if: false
runs-on: ubuntu-latest
steps:
- name: Checkout Keystone
Expand All @@ -374,10 +377,11 @@ jobs:
# Build tests, which are run for each supported platform
test-runtime-build:
if: false
needs: build
uses: ./.github/workflows/build-runtime.yml

# System tests, which are run for simulatable and self-hostable platforms
test-system-functionality:
needs: build
# needs: build
uses: ./.github/workflows/test-system.yml
20 changes: 14 additions & 6 deletions .github/workflows/test-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ jobs:
environment: ${{ matrix.platform != 'generic' && 'track' || null }}
strategy:
matrix:
platform: [generic, mpfs] #cva6]
platform: [cva6]
bits: [32, 64]
exclude:
# mpfs is not 32 bit
- platform: mpfs
bits: 32
# ignore 32-bit cva6 for now
- platform: cva6
bits: 32

steps:
- name: Checkout Keystone
Expand All @@ -25,11 +28,16 @@ jobs:
scripts/
mkutils/
- name: Restore build directory
uses: actions/download-artifact@v4
with:
name: keystone-${{ matrix.platform }}${{ matrix.bits }}-builddir
path: .
# - name: Restore build directory
# uses: actions/download-artifact@v4
# with:
# name: keystone-${{ matrix.platform }}${{ matrix.bits }}-builddir
# path: .

- name: Copy build directory
run: |
cp ~/keystone-${{ matrix.platform }}${{ matrix.bits }}-builddir.zip .
unzip keystone-${{ matrix.platform }}${{ matrix.bits }}-builddir.zip
- name: Decompress build directory
run: cat build.tar.xz | xz -d -T0 | tar -xf -
Expand Down

0 comments on commit 428975d

Please sign in to comment.