arm64 linux build support
This commit is contained in:
17
.github/workflows/cmake_linux.yml
vendored
17
.github/workflows/cmake_linux.yml
vendored
@@ -28,9 +28,9 @@ jobs:
|
|||||||
|
|
||||||
linux:
|
linux:
|
||||||
|
|
||||||
name: "${{ matrix.ui.name }}, ${{ matrix.build.name }}, ${{ matrix.dynarec.name }}, x86_64"
|
name: "${{ matrix.ui.name }}, ${{ matrix.build.name }}, ${{ matrix.dynarec.name }}, ${{ matrix.environment.arch }}"
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ${{ matrix.environment.runner }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
@@ -65,6 +65,15 @@ jobs:
|
|||||||
qttranslations5-l10n
|
qttranslations5-l10n
|
||||||
libevdev-dev
|
libevdev-dev
|
||||||
libxkbcommon-x11-dev
|
libxkbcommon-x11-dev
|
||||||
|
environment:
|
||||||
|
- arch: x86_64
|
||||||
|
toolchain: ./cmake/flags-gcc-x86_64.cmake
|
||||||
|
slug: "-x86_64"
|
||||||
|
runner: ubuntu-22.04
|
||||||
|
- arch: arm64
|
||||||
|
toolchain: ./cmake/flags-gcc-aarch64.cmake
|
||||||
|
slug: -arm64
|
||||||
|
runner: ubuntu-22.04-arm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -92,7 +101,7 @@ jobs:
|
|||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >-
|
run: >-
|
||||||
cmake -G Ninja -S . -B build --preset ${{ matrix.build.preset }}
|
cmake -G Ninja -S . -B build --preset ${{ matrix.build.preset }}
|
||||||
--toolchain ./cmake/flags-gcc-x86_64.cmake
|
--toolchain ${{ matrix.environment.toolchain }}
|
||||||
-D NEW_DYNAREC=${{ matrix.dynarec.new }}
|
-D NEW_DYNAREC=${{ matrix.dynarec.new }}
|
||||||
-D CMAKE_INSTALL_PREFIX=./build/artifacts
|
-D CMAKE_INSTALL_PREFIX=./build/artifacts
|
||||||
-D QT=${{ matrix.ui.qt }}
|
-D QT=${{ matrix.ui.qt }}
|
||||||
@@ -108,5 +117,5 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: '86Box${{ matrix.ui.slug }}${{ matrix.dynarec.slug }}${{ matrix.build.slug }}-UbuntuJammy-x86_64-gha${{ github.run_number }}'
|
name: '86Box${{ matrix.ui.slug }}${{ matrix.dynarec.slug }}${{ matrix.build.slug }}-UbuntuJammy${{ matrix.environment.slug }}-gha${{ github.run_number }}'
|
||||||
path: build/artifacts/**
|
path: build/artifacts/**
|
||||||
|
|||||||
Reference in New Issue
Block a user