Skip to content

fix codeql pipeline to install aarch64-none-efl toolchain #17

fix codeql pipeline to install aarch64-none-efl toolchain

fix codeql pipeline to install aarch64-none-efl toolchain #17

Workflow file for this run

on:
push:
branches:
- main
jobs:
build:
name: build job
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
submodules: true
- name: Fetch aarch64-none-elf toolchain
run: |
wget https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-elf.tar.xz
tar -xf arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-elf.tar.xz
sudo mv arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-elf /opt/
echo "/opt/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-elf/bin" >> "$GITHUB_PATH"
- name: Install tools
run: sudo apt-get update && sudo apt-get install -y python3 ninja-build
- name: Generate ninja.build
run: python3 conf.py
- name: Run ninja
run: ninja
- name: Upload kernel8.img
uses: actions/[email protected]
with:
name: kernel8.img
path: kernel8.img
- name: Upload kernel8.elf
uses: actions/[email protected]
with:
name: kernel8.elf
path: kernel8.elf