TTKMD v1.31 #70
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
name: 'test' | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-dkms: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
sudo apt update | |
sudo apt install -y dkms | |
sudo dkms add . | |
sudo dkms install tenstorrent/$(tools/current-version) | |
build-make: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
sudo apt update | |
sudo apt install -y make | |
make -j $(nproc) | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: driver-${{ matrix.os }} | |
path: tenstorrent.ko |