Skip to content

create action yaml and test #24

create action yaml and test

create action yaml and test #24

Workflow file for this run

name: Test Action
on:
push:
branches: trunk
pull_request:
branches: trunk
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform: ['linux/amd64']
env:
APPDIR: $GITHUB_WORKSPACE/AppDir
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use action from self
id: linuxdeploy
uses: ./
with:
platform: ${{ matrix.platform }}
install_commands: |
sudo apt install -y libncursesw5-dev
build_commands: |
export -p
git clone --depth 1 https://github.com/theimpossibleastronaut/rmw
cd rmw
meson setup _build
cd _build
ninja
meson install --destdir=$APPDIR --skip-subprojects
ld_desktop_file: packaging/rmw.desktop
ld_icon_file: packaging/rmw_icon_32x32.png
ld_icon_filename: rmw
ld_executable_dir: ${{ env.APPDIR }}/usr/bin/rmw
- name: Upload AppImage
uses: actions/upload-artifact@v2
with:
name: appimage
path: ${{ steps.linuxdeploy.outputs.destination_dir }}/out/*.AppImage