Skip to content

Commit

Permalink
Add linux armhf build (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbatalov authored Feb 12, 2025
1 parent 4382d67 commit d631bfc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,42 @@ jobs:
path: out/build/linux-${{ matrix.arch }}-debug/fallout2-ce
retention-days: 7

linux-armhf:
name: Linux (armhf)

runs-on: ubuntu-22.04-arm

steps:
- name: Clone
uses: actions/checkout@v4

- name: Dependencies
run: |
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libsdl2-dev:armhf zlib1g-dev:armhf
- name: Configure
run: |
cmake \
-B build \
-D CMAKE_BUILD_TYPE=Debug \
-D FALLOUT_VENDORED=OFF \
-D CMAKE_SYSTEM_PROCESSOR=arm \
-D CMAKE_C_COMPILER=arm-linux-gnueabihf-gcc \
-D CMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ \
# EOL
- name: Build
run: cmake --build build

- name: Upload
uses: actions/upload-artifact@v4
with:
name: fallout2-ce-linux-armhf
path: build/fallout2-ce
retention-days: 7

linux-arm64:
name: Linux (arm64)

Expand Down

0 comments on commit d631bfc

Please sign in to comment.