Skip to content

Commit

Permalink
Update CMake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Dec 8, 2023
1 parent 439e44e commit 2476f4b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/CMake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v3

- name: Setup env
run: sudo apt-get install -y gcc-arm-none-eabi gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf build-essential libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof
run: sudo apt-get install -y gcc-arm-none-eabi gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi g++-arm-linux-gnueabihf build-essential libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof

- name: Configure CMake arm-none-eabi
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand All @@ -43,5 +43,14 @@ jobs:
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build-arm-linux-gnueabihf --config ${{env.BUILD_TYPE}}

- name: Configure CMake arm-linux-gnueabi
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build-arm-linux-gnueabi -DCROSS_COMPILE=arm-linux-gnueabi- -DENABLE_HARDFP=OFF -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build arm-linux-gnueabi
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build-arm-linux-gnueabi --config ${{env.BUILD_TYPE}}



0 comments on commit 2476f4b

Please sign in to comment.