Skip to content

Commit

Permalink
Update cpp-17-gcc-12-ubuntu-22.04-qemu-arm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lamarrr authored Nov 13, 2023
1 parent fb80c38 commit 54bd111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cpp-17-gcc-12-ubuntu-22.04-qemu-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
- uses: actions/checkout@v3

- name: Install Qemu, GCC ARM, and Ninja
run: sudo apt update && sudo apt install qemu-user g++-arm-linux-gnueabi gcc-arm-linux-gnueabi ninja-build lld libc++abi1-15 libc++abi1 libc++ libc++abi-15-dev lld-15 lldb-15 clang-15
run: sudo apt update && sudo apt install qemu-user g++-arm-linux-gnueabi gcc-arm-linux-gnueabi ninja-build lld libc++abi1-15 libc++abi1 libc++-15-dev libc++-dev libc++abi-15-dev lld-15 lldb-15 clang-15

- name: Install GTest
run: git clone https://github.com/google/googletest.git -b v1.13.0 --depth=1 third_party/googletest && cd third_party/googletest && mkdir build && cd build && cmake .. -DCMAKE_CXX_COMPILER=arm-linux-gnueabi-g++ -DCMAKE_C_COMPILER=arm-linux-gnueabi-gcc -GNinja && sudo ninja install

- name: Build Tests
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=${{matrix.build_mode}} -DSTX_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=arm-linux-gnueabi-g++ -DCMAKE_C_COMPILER=arm-linux-gnueabi-gcc -GNinja -DCMAKE_CXX_FLAGS=-latomic -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && cat compile_commands.json && ninja
run: mkdir build && cd build && cmake .. -DCLANG_TARGET_TRIPLE=armv7a-linux-eabi -DCMAKE_BUILD_TYPE=${{matrix.build_mode}} -DSTX_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=arm-linux-gnueabi-g++ -DCMAKE_C_COMPILER=arm-linux-gnueabi-gcc -GNinja -DCMAKE_CXX_FLAGS=-latomic -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && cat compile_commands.json && ninja
env:
CC: clang-15
CXX: clang++-15
Expand Down

0 comments on commit 54bd111

Please sign in to comment.