From 706c35739e4969836feed49bc07fc29b03569753 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Mar 2025 10:43:36 +0100 Subject: ci: Improve CI, add bootloader CI too. Signed-off-by: Amlal El Mahrouss --- .github/workflows/ahci.yml | 20 -------------------- .github/workflows/boot-pio.yml | 20 ++++++++++++++++++++ .github/workflows/kernel-ahci.yml | 20 ++++++++++++++++++++ .github/workflows/kernel-pio.yml | 20 ++++++++++++++++++++ .github/workflows/pio.yml | 20 -------------------- 5 files changed, 60 insertions(+), 40 deletions(-) delete mode 100644 .github/workflows/ahci.yml create mode 100644 .github/workflows/boot-pio.yml create mode 100644 .github/workflows/kernel-ahci.yml create mode 100644 .github/workflows/kernel-pio.yml delete mode 100644 .github/workflows/pio.yml (limited to '.github') diff --git a/.github/workflows/ahci.yml b/.github/workflows/ahci.yml deleted file mode 100644 index d1582470..00000000 --- a/.github/workflows/ahci.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: NeKernel CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Install Packages - run: sudo apt update && sudo apt install mingw-w64 qemu-utils nasm - - name: Build NeKernel (AHCI) - run: ./setup_amd64.sh && cd dev/kernel && export AHCI_SUPPORT=1 && make -f amd64-ci.make all - diff --git a/.github/workflows/boot-pio.yml b/.github/workflows/boot-pio.yml new file mode 100644 index 00000000..80c5b932 --- /dev/null +++ b/.github/workflows/boot-pio.yml @@ -0,0 +1,20 @@ +name: BootZ CI (ATA PIO) + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Install Packages + run: sudo apt update && sudo apt install mingw-w64 qemu-utils nasm + - name: Build BootZ (ATA PIO) + run: cd dev/boot && export ATA_PIO_SUPPORT=1 && make -f amd64-ci.make all + diff --git a/.github/workflows/kernel-ahci.yml b/.github/workflows/kernel-ahci.yml new file mode 100644 index 00000000..51cb54a3 --- /dev/null +++ b/.github/workflows/kernel-ahci.yml @@ -0,0 +1,20 @@ +name: NeKernel CI (AHCI) + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Install Packages + run: sudo apt update && sudo apt install mingw-w64 qemu-utils nasm + - name: Build NeKernel (AHCI) + run: ./setup_amd64.sh && cd dev/kernel && export AHCI_SUPPORT=1 && make -f amd64-ci.make all + diff --git a/.github/workflows/kernel-pio.yml b/.github/workflows/kernel-pio.yml new file mode 100644 index 00000000..57f6faee --- /dev/null +++ b/.github/workflows/kernel-pio.yml @@ -0,0 +1,20 @@ +name: NeKernel CI (ATA PIO) + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Install Packages + run: sudo apt update && sudo apt install mingw-w64 qemu-utils nasm + - name: Build NeKernel (ATA PIO) + run: ./setup_amd64.sh && cd dev/kernel && export ATA_PIO_SUPPORT=1 && make -f amd64-ci.make all + diff --git a/.github/workflows/pio.yml b/.github/workflows/pio.yml deleted file mode 100644 index b6251866..00000000 --- a/.github/workflows/pio.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: NeKernel CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Install Packages - run: sudo apt update && sudo apt install mingw-w64 qemu-utils nasm - - name: Build NeKernel (ATA PIO) - run: ./setup_amd64.sh && cd dev/kernel && export ATA_PIO_SUPPORT=1 && make -f amd64-ci.make all - -- cgit v1.2.3