mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
attempt some CI building using github actions
This commit is contained in:
parent
f20ad52307
commit
842f4e44d4
4 changed files with 49 additions and 0 deletions
11
.github/workflows/ci-libretro-default.yml
vendored
Normal file
11
.github/workflows/ci-libretro-default.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
name: CI (libretro default)
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: make
|
||||
run: LDFLAGS=-Wl,--no-undefined make -f Makefile.libretro
|
17
.github/workflows/ci-linux.yml
vendored
Normal file
17
.github/workflows/ci-linux.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: CI (Linux)
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y libsdl1.2-dev libasound2-dev libpng-dev libz-dev
|
||||
- name: configure
|
||||
run: DUMP_CONFIG_LOG=1 ./configure
|
||||
- name: make
|
||||
run: make
|
20
.github/workflows/ci-pandora.yml
vendored
Normal file
20
.github/workflows/ci-pandora.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: CI (pandora)
|
||||
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 apt-get update -qq
|
||||
sudo apt-get install -y wget
|
||||
wget http://notaz.gp2x.de/misc/pnd/toolchains/arm-gcc-4.9.4_with_libs_small.tar.xz
|
||||
tar -C /tmp/ -xf arm-gcc-4.9.4_with_libs_small.tar.xz
|
||||
- name: configure
|
||||
run: DUMP_CONFIG_LOG=1 PATH=$PATH:/tmp/arm-gcc-4.9.4/bin CPATH=/tmp/arm-gcc-4.9.4/arm-unknown-linux-gnueabi/sysroot/usr/local/include/ CROSS_COMPILE=arm-unknown-linux-gnueabi- ./configure --platform=pandora
|
||||
- name: make
|
||||
run: PATH=$PATH:/tmp/arm-gcc-4.9.4/bin CPATH=/tmp/arm-gcc-4.9.4/arm-unknown-linux-gnueabi/sysroot/usr/local/include/ CROSS_COMPILE=arm-unknown-linux-gnueabi- make
|
1
configure
vendored
1
configure
vendored
|
@ -65,6 +65,7 @@ config_mak="config.mak"
|
|||
fail()
|
||||
{
|
||||
echo "$@"
|
||||
if test -n "$DUMP_CONFIG_LOG"; then cat config.log; fi
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue