mirror of
https://github.com/Gericom/FastVideoDSPlayer.git
synced 2025-06-18 10:35:34 -04:00
Add a workflow for build artifacts and releases
Switch the target file to `FastVideoDS` to align with other frontend's expected file name.
This commit is contained in:
parent
47442d4659
commit
d0ea2b603e
33
.github/workflows/nightly.yml
vendored
Normal file
33
.github/workflows/nightly.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
name: Build nightly
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["*"]
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
pull_request:
|
||||
branches: ["*"]
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: devkitpro/devkitarm
|
||||
name: Build with Docker using devkitARM
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Make application
|
||||
run: |
|
||||
make
|
||||
- name: Prepare for build publishing
|
||||
run: |
|
||||
mkdir -p ~/artifacts
|
||||
cp -f FastVideoDS.nds ~/artifacts/
|
||||
- name: Publish build to GH Actions
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: ~/artifacts/*
|
||||
name: build
|
32
.github/workflows/release.yml
vendored
Normal file
32
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: Build release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: devkitpro/devkitarm
|
||||
name: Build with Docker using devkitARM
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Make application
|
||||
run: |
|
||||
make
|
||||
- name: Prepare for build publishing
|
||||
run: |
|
||||
mkdir -p ~/artifacts
|
||||
cp -f FastVideoDS.nds ~/artifacts/
|
||||
- name: Publish build to GH Actions
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: ~/artifacts/*
|
||||
name: build
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: |
|
||||
FastVideoDS.nds
|
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ ifeq ($(strip $(DEVKITARM)),)
|
||||
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
|
||||
endif
|
||||
|
||||
export TARGET := $(shell basename $(CURDIR))
|
||||
export TARGET := FastVideoDS
|
||||
export TOPDIR := $(CURDIR)
|
||||
|
||||
# specify a directory which contains the nitro filesystem
|
||||
|
Loading…
Reference in New Issue
Block a user