mirror of
https://github.com/grumpycoders/pcsx-redux.git
synced 2025-04-02 10:41:54 -04:00
31 lines
850 B
YAML
31 lines
850 B
YAML
name: Linux CI cross
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
cross-arm64:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/grumpycoders/pcsx-redux-build-cross:latest
|
|
env:
|
|
CROSS: arm64
|
|
PKG_CONFIG_SYSROOT_DIR: /opt/cross/sysroot
|
|
PKG_CONFIG_PATH:
|
|
PKG_CONFIG_LIBDIR: /opt/cross/sysroot/usr/lib/aarch64-linux-gnu/pkgconfig
|
|
CC: aarch64-linux-gnu-gcc --sysroot=/opt/cross/sysroot
|
|
CXX: aarch64-linux-gnu-g++ --sysroot=/opt/cross/sysroot
|
|
TEST_RESULTS: /tmp/test-results
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
set-safe-directory: true
|
|
- uses: n1hility/cancel-previous-runs@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- run: |
|
|
make -j 2 all pcsx-redux-tests
|