dxx-rebirth/.github/workflows/package-linux.yml
raptor 85a617386f Packaging changes:
- Split out builds in order to trigger them separately
- Anchor macdylibbundler to a specific revision
2022-08-10 09:25:08 -06:00

36 lines
803 B
YAML

name: Package - Linux
on:
#push:
# branches: [ master ]
#pull_request:
# branches: [ master ]
workflow_dispatch:
jobs:
linux:
name: Linux AppImages
runs-on: ubuntu-20.04
steps:
- name: Clone Repository
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y scons libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libphysfs-dev
- name: Configure and build
run: scons -j`nproc` opengl=1 sdl2=1 sdlmixer=1
- name: Package AppImage
run: ./contrib/packaging/linux/build_package.sh
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: linux
path: '*.AppImage'