Skip to content

Commit

Permalink
[ci] remove python doit (#1055)
Browse files Browse the repository at this point in the history
* Update Processor.yml
* Update Documentation.yml
* [ci] remove python doit
  • Loading branch information
stnolting authored Oct 11, 2024
1 parent 0949a3e commit ae515c5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 81 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ jobs:
with:
fetch-depth: 0

- name: '🐍 Install doit'
run: pip install doit

- name: '📚 Build Datasheet and User Guide (PDF and HTML)'
run: ./do.py Documentation container
run: make -C docs container

- name: '📤 Upload Artifact: HTML'
uses: actions/upload-artifact@v4
Expand All @@ -80,7 +77,7 @@ jobs:
- name: '📥 Download Artifacts'
uses: actions/download-artifact@v4

- name: '🛠️ Organise public subdir and create a tarball'
- name: '🛠️ Organize public subdir and create a tarball'
run: |
mv NEORV32 public
mv public/pdf ./
Expand All @@ -98,8 +95,13 @@ jobs:
run: |
gh release upload nightly NEORV32-SITE-nightly.tar.gz pdf/NEORV32*nightly.pdf --clobber
- name: '🐍 Install doit'
run: pip install doit

- name: '🚀 Deploy to GitHub-Pages'
run: ./do.py DeployToGitHubPages "update ${{ github.sha }}"
run: |
git init
cp ../.git/config ./.git/config
touch .nojekyll
git add .
git config --local user.email "push@gha"
git config --local user.name "GHA"
git commit -am 'update ${{ github.sha }}'
git push -u origin +HEAD:gh-pages
8 changes: 5 additions & 3 deletions .github/workflows/Processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@ jobs:

Software:
runs-on: ubuntu-latest
container: ghcr.io/stnolting/neorv32/sim

steps:

- name: '🧰 Repository Checkout'
uses: actions/checkout@v4

- name: '⚙️ Build Software Framework Tests'
uses: docker://ghcr.io/stnolting/neorv32/sim
with:
args: ./do.py SoftwareFrameworkTests
run: |
make -C sw/example/processor_check check
make -C sw/example clean_all exe
make -C sw/bootloader clean_all info bootloader
Simple:
Expand Down
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# doit databases
/.doit.db.*

# python
__pycache__

# generated app files
*.bin
*.coe
Expand Down
63 changes: 0 additions & 63 deletions do.py

This file was deleted.

0 comments on commit ae515c5

Please sign in to comment.