Update main.yml #17
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: Build | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set permission | |
run: chmod +x build.sh | |
- name: install gcc-aarch64-linux-gnu | |
run: wget https://github.com/kdrag0n/aarch64-elf-gcc/raw/9.x/bin/aarch64-elf-gcc | |
- name: Test aarch64-elf-gcc | |
run: aarch64-elf-gcc | |
- name: Kernel Build | |
run: sudo bash build.sh none beyond1lte | |
- name: Upload Kernel Images | |
uses: actions/upload-artifact@v2 | |
with: | |
name: kernelsukernel | |
path: '*.img' | |
if-no-files-found: error |