File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,17 @@ jobs:
2222 steps :
2323 - uses : actions/checkout@v4
2424
25+ - name : Install Dependencies
26+ run : sudo apt update && sudo apt-get install -y build-essential cpio nasm cmake xorriso grub-pc-bin grub-common gcc-multilib g++-multilib
27+
2528 - name : Configure CMake
2629 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
2730 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
2831 run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
2932
3033 - name : Build
3134 # Build your program with the given configuration
32- run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
35+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_ASM_NASM_COMPILER=nasm -DCMAKE_ASM_NASM_FLAGS="-f elf32"
3336
3437 - name : Upload a Build Artifact
3538
You can’t perform that action at this time.
0 commit comments