mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-18 04:43:17 +00:00
attempt actions for building apps
This commit is contained in:
parent
272ed9a1d5
commit
86cc5317c1
45
.github/workflows/build.yml
vendored
Normal file
45
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
name: build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
app:
|
||||
- calibre
|
||||
- dotnet
|
||||
- go
|
||||
- java
|
||||
- mp3tag
|
||||
- musikcube
|
||||
- musl
|
||||
- node
|
||||
- pypy
|
||||
- renpy
|
||||
- rust
|
||||
- tex
|
||||
- wine
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
- name: Install packaging dependencies
|
||||
run: sudo apt install -y aria2 libarchive-tools
|
||||
- name: Run stuff
|
||||
run: |
|
||||
sudo cp appdwarf /bin
|
||||
cd apps
|
||||
sudo wget https://github.com/mhx/dwarfs/releases/download/v0.9.6/dwarfs-universal-0.9.6-Linux-x86_64-clang -O /bin/mkdwarfs
|
||||
sudo chmod +x /bin/mkdwarfs
|
||||
./mk${{ matrix.app }} 21
|
||||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.app }}
|
||||
path: |
|
||||
bin/${{ matrix.app }}
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")"/appmk
|
||||
part0
|
||||
LINK=$(curl https://nodejs.org/en/download/current/ | grep -m1 linux | cut -d\" -f4)
|
||||
LINK=https://nodejs.org/dist/latest/
|
||||
LINK=$LINK$(curl $LINK | grep linux-x64.tar.xz | cut -d\" -f2)
|
||||
unxz
|
||||
mv "$DIR"/node*/* "$DIR"
|
||||
appb
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")"/appmk
|
||||
part0
|
||||
LINK="https://buildbot.pypy.org/nightly/trunk/pypy-c-jit-latest-linux64.tar.bz2"
|
||||
LINK="$(curl https://www.pypy.org/download.html | grep http.\*linux64.tar.bz2 | head -n1 | cut -d\" -f4)"
|
||||
unbz
|
||||
mv "$DIR"/pypy*/* "$DIR"
|
||||
"$DIR"/bin/pypy -m ensurepip
|
||||
|
|
Loading…
Reference in a new issue