summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/c-cpp.yml
blob: 753bd2c0a0ccb7bec29f622db14e241059ae61b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: C/C++ 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)
      run: ./setup_amd64.sh && cd dev/kernel && export ATA_SUPPORT=1 && make -f amd64-ci.make all
    - name: Build NeKernel (AHCI)
      run: ./setup_amd64.sh && cd dev/kernel & export ATA_SUPPORT= && export AHCI_SUPPORT=1 && make -f amd64-ci.make all