Skip to content

Commit

Permalink
gh ci my behated sob
Browse files Browse the repository at this point in the history
  • Loading branch information
theverygaming committed Sep 30, 2024
1 parent 4a669d8 commit 0a86223
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/sob.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build & Test
on: [push, pull_request]
jobs:
build-test-nix:
runs-on: ubuntu-latest
strategy:
matrix:
stuff:
- flake: IA-32
step_config: make alldefconfig MAKE_ARCH=x86 && make tests MAKE_ARCH=x86
step_build: make MAKE_ARCH=x86 CROSS_COMPILE=i686-elf-
step_bootimg: make bootimg-x86-32 MAKE_ARCH=x86
nm: i686-elf-nm
runcmd: qemu-system-x86_64 -cdrom vix.iso -nographic
ignore_test_failure: false
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Nix
uses: nixbuild/nix-quick-install-action@v28
- name: Build development environment
shell: echo $(env) {0}
run: echo a
- name: Build development environment
run: echo yeah ${{ matrix.stuff.flake }}
- name: run kconfig
shell: nix develop .#IA-32 --command bash -e {0}
run: |
echo qwhar?? ${{ matrix.stuff.flake }}
${{ matrix.stuff.step_config }}
- name: Compile
shell: nix develop .#${{ matrix.stuff.flake }} --command bash -e {0}
run: |
${{ matrix.stuff.step_build }}

0 comments on commit 0a86223

Please sign in to comment.