build: Remove old gitea workflow

This commit is contained in:
Mark Poliakov 2024-03-12 18:25:35 +02:00
parent 1440689094
commit a39d42a3eb

View File

@ -1,51 +0,0 @@
name: Kernel tests
run_name: Kernel tests
on: [pull_request]
jobs:
Test-x86_64-Build:
runs-on: ubuntu-latest
steps:
- name: Checkout kernel sources
uses: actions/checkout@v3
- name: Install build dependencies
run: |
apt update && apt install -y nasm gcc
- name: Install nightly Rust toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain nightly
source "$HOME/.cargo/env"
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: Update dependencies
run: |
source "$HOME/.cargo/env"
cd ${{ gitea.workspace }}
cargo update yggdrasil-abi elf
- name: Build x86-64
run: |
source "$HOME/.cargo/env"
cd ${{ gitea.workspace }}
cargo build -Z build-std=core,alloc,compiler_builtins --target=etc/x86_64-unknown-none.json
Test-aarch64-Build:
runs-on: ubuntu-latest
steps:
- name: Checkout kernel sources
uses: actions/checkout@v3
- name: Install build dependencies
run: |
apt update && apt install -y nasm gcc
- name: Install nightly Rust toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain nightly
source "$HOME/.cargo/env"
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: Update dependencies
run: |
source "$HOME/.cargo/env"
cd ${{ gitea.workspace }}
cargo update yggdrasil-abi elf
- name: Build aarch64
run: |
source "$HOME/.cargo/env"
cd ${{ gitea.workspace }}
cargo build -Z build-std=core,alloc,compiler_builtins --target=etc/aarch64-unknown-qemu.json