Skip to content

Commit

Permalink
Add github CI
Browse files Browse the repository at this point in the history
This does make and dkms based builds on a bunch of ubuntu versions

Also produces build artifacts for people to use.
  • Loading branch information
mikey committed Apr 26, 2024
1 parent 6e144cd commit d1a3c04
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,37 @@
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/1.27.1
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

0 comments on commit d1a3c04

Please sign in to comment.