You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
709 B
YAML
33 lines
709 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
repository_dispatch:
|
|
types: [run_build]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Get Information Variables
|
|
id: core
|
|
run: |
|
|
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
|
|
- name: Compile project
|
|
run: |
|
|
sh build.sh
|
|
cd build
|
|
mkdir vita-toolchain
|
|
make install DESTDIR=../vita-toolchain
|
|
- name: Upload artifacts
|
|
if: ${{ success() }}
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: vita-toolchain-${{ steps.core.outputs.sha8 }}
|
|
path: ./vita-toolchain/usr/local/
|