Skip to content

Fix derp

Fix derp #4

Workflow file for this run

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
name: Checkout
with:
submodules: recursive
set-safe-directory: true
- uses: n1hility/cancel-previous-runs@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Compile
run: |
cd src && aarch64-linux-gnu-g++ --sysroot=/opt/cross/sysroot main.cpp -o main.out