Skip to content

Commit

Permalink
Update gh scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Anderson Ignacio da Silva <anderson@aignacio.com>
  • Loading branch information
aignacio committed Jun 18, 2024
1 parent 3ef74cc commit d98828e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ on:
- 'stable/**'

jobs:
build:
lint:
runs-on: ubuntu-22.04
id: lint_job

strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
needs: regression_job
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
Expand Down
23 changes: 4 additions & 19 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ on:
- 'stable/**'

jobs:
build:
tests:
runs-on: ubuntu-22.04
needs: lint_job # Depends on lint job from lint.yaml
id: regression_job

strategy:
matrix:
Expand All @@ -25,27 +27,10 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v2
#- name: Install Verilator requirements
#run: |
#sudo apt update -y
#sudo apt-get install git help2man perl python3 make
#sudo apt-get install g++ # Alternatively, clang
#sudo apt-get install libfl-dev # Ubuntu only (ignore if gives error)
#sudo apt-get install zlib1g zlib1g-dev # Ubuntu only (ignore if gives error)
#- name: Set up Verilator
#run: |
#git clone https://github.com/verilator/verilator
#cd verilator
#git checkout stable
#autoconf
#./configure
#make
#sudo make install
#shell: bash
- name: Install Icarus and its requirements
run: |
sudo apt update
sudo apt-get install build-essential libboost-dev iverilog
sudo apt-get install build-essential libboost-dev iverilog verilator
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion cocotbext/ahb/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.8"
__version__ = "0.2.9"

0 comments on commit d98828e

Please sign in to comment.