mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
build, add odbeta
This commit is contained in:
parent
6bd90c9666
commit
02ed0c7f60
4 changed files with 82 additions and 2 deletions
39
.github/workflows/ci.yml
vendored
39
.github/workflows/ci.yml
vendored
|
@ -200,3 +200,42 @@ jobs:
|
|||
name: RetroFW
|
||||
path: PicoDrive-retrofw*.opk
|
||||
|
||||
build-odbeta-gcw0:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/irixxxx/toolchain-odbeta-gcw0
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: build
|
||||
run: |
|
||||
git config --global --add safe.directory $PWD
|
||||
ver=$(cut -d'"' -f2 platform/common/version.h)-$(git rev-parse --short HEAD)
|
||||
./configure --platform=opendingux
|
||||
make -j2
|
||||
mv PicoDrive.opk PicoDrive-odbeta-gcw0-$ver.opk
|
||||
- name: artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ODbeta gcw0
|
||||
path: PicoDrive-odbeta-*.opk
|
||||
|
||||
build-odbeta-lepus:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/irixxxx/toolchain-odbeta-lepus
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: build
|
||||
run: |
|
||||
git config --global --add safe.directory $PWD
|
||||
ver=$(cut -d'"' -f2 platform/common/version.h)-$(git rev-parse --short HEAD)
|
||||
./configure --platform=opendingux
|
||||
make -j2
|
||||
mv PicoDrive.opk PicoDrive-odbeta-lepus-$ver.opk
|
||||
- name: artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ODbeta lepus
|
||||
path: PicoDrive-odbeta-*.opk
|
||||
|
|
19
.github/workflows/prepare.yml
vendored
Normal file
19
.github/workflows/prepare.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: prepare
|
||||
on: workflow_call
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: create release
|
||||
id: create_release
|
||||
if: ${{ github.ref_type == 'tag' }}
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
tag=$(echo ${{ github.ref }} | sed 's:refs/tags/::')
|
||||
gh release create "$tag" --verify-tag -d -t "$tag" -n "$tag"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue