Skip to content

Commit

Permalink
build-test-nix fix x86-64
Browse files Browse the repository at this point in the history
  • Loading branch information
theverygaming committed Sep 30, 2024
1 parent 5c64268 commit 79fb4af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
nm: i686-elf-nm
runcmd: qemu-system-x86_64 -cdrom vix.iso -nographic
- flake: x86-64
step_config: make alldefconfig MAKE_ARCH=x86 && make tests MAKE_ARCH=x86 && sed -i 's/CONFIG_ENABLE_KERNEL_32=y/# CONFIG_ENABLE_KERNEL_32=y\nCONFIG_ENABLE_KERNEL_64=y/g' kernel/.config
step_config: make alldefconfig MAKE_ARCH=x86 && make tests MAKE_ARCH=x86 && sed -i "s/CONFIG_ENABLE_KERNEL_32=y/# CONFIG_ENABLE_KERNEL_32=y\nCONFIG_ENABLE_KERNEL_64=y/g" kernel/.config
step_build: make MAKE_ARCH=x86 CROSS_COMPILE=x86_64-elf-
step_bootimg: make bootimg-x86-64 MAKE_ARCH=x86
nm: x86_64-elf-nm
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', 'flake.lock') }}
primary-key: nix-${{ runner.os }}-${{ matrix.stuff.flake }}-${{ hashFiles('**/*.nix', 'flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
purge-prefixes: cache-${{ runner.os }}
- name: Build development environment
Expand Down

0 comments on commit 79fb4af

Please sign in to comment.