Skip to content

Add CI workflow for building RISC-V packages #1

Add CI workflow for building RISC-V packages

Add CI workflow for building RISC-V packages #1

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache APT Packages
uses: awalsh128/cache-apt-pkgs-action@v1.5.3
with:
packages: libncurses-dev libssl-dev bc flex bison make gcc gcc-riscv64-linux-gnu
version: 1
- name: make olddefconfig
run: make O=$__kobj ARCH=riscv64 CROSS_COMPILE=riscv64-linux-gnu- olddefconfig
- name: make
run: make O=$__kobj ARCH=riscv64 CROSS_COMPILE=riscv64-linux-gnu- -j$(nproc)
- uses: actions/upload-artifact@v4
with:
name: debian_packages
path: ../*.deb