Add riscv64 support #3
Workflow file for this run
This file contains hidden or 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: Cross-build riscv64 kernel | |
on: [pull_request, create] | |
jobs: | |
build: | |
if: github.event_name == 'pull_request' | |
name: Cross-build riscv64 kernel | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get install -y make gcc bc bison flex elfutils python3-pyelftools curl patch libelf-dev gcc-riscv64-linux-gnu | |
- name: Build riscv64 kernel | |
run: make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- |