X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=.github%2Fworkflows%2Fci-linux-armhf.yml;fp=.github%2Fworkflows%2Fci-linux-armhf.yml;h=0842bf36df8ea72be78e6c8b4901a4693bc55b9a;hp=0000000000000000000000000000000000000000;hb=5d53bb85b964495d5aa08f142abfad980f14f2d1;hpb=55a2d0dc822079287304932ad20f276f03735cd0 diff --git a/.github/workflows/ci-linux-armhf.yml b/.github/workflows/ci-linux-armhf.yml new file mode 100644 index 00000000..0842bf36 --- /dev/null +++ b/.github/workflows/ci-linux-armhf.yml @@ -0,0 +1,22 @@ +name: CI (Linux armhf) +on: [push, pull_request] +jobs: + build-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Install dependencies + run: | + whoami + sudo bash -c 'echo ''deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal main restricted universe'' > /etc/apt/sources.list.d/armhf.list' + sudo sed -i 's/^deb \([^[]\)/deb [arch=amd64] \1/' /etc/apt/sources.list + sudo dpkg --add-architecture armhf + sudo apt-get update -qq + sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf + .github/extract-foreign-all.sh armhf + - name: configure + run: DUMP_CONFIG_LOG=1 CROSS_COMPILE=arm-linux-gnueabihf- PATH=$PATH:usr/bin CFLAGS='-Iusr/include/ -Iusr/include/SDL' LDFLAGS='-Lusr/lib/arm-linux-gnueabihf/ -Llib/arm-linux-gnueabihf/ -Wl,-rpath-link=lib/arm-linux-gnueabihf/,-rpath-link=usr/lib/arm-linux-gnueabihf/,-rpath-link=usr/lib/arm-linux-gnueabihf/pulseaudio/' ./configure + - name: make + run: make