mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Try arm build (no test)
This commit is contained in:
parent
dc213506fa
commit
085ff34399
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -201,3 +201,27 @@ jobs:
|
|||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$(pwd)/backend" PATH=$PATH:"$(pwd)/frontend" ctest -V -C $BUILD_TYPE
|
run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$(pwd)/backend" PATH=$PATH:"$(pwd)/frontend" ctest -V -C $BUILD_TYPE
|
||||||
|
|
||||||
|
build-ubuntu-arm:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: arm-none-eabi-gcc
|
||||||
|
uses: ryanwinter/arm-none-eabi-gcc@master
|
||||||
|
with:
|
||||||
|
release: '10-2021.10'
|
||||||
|
|
||||||
|
- name: Create Build Environment
|
||||||
|
run: cmake -E make_directory ${{runner.workspace}}/build
|
||||||
|
|
||||||
|
- name: Configure CMake
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
run: cmake $GITHUB_WORKSPACE -DCMAKE_TOOLCHAIN_FILE="cmake/arm-gcc-cortex-m4.cmake" -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DZINT_USE_PNG=OFF -DZINT_USE_QT=OFF
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
run: cmake --build . -j8 --config $BUILD_TYPE
|
||||||
|
Loading…
Reference in New Issue
Block a user