Skip to content

Distinguish builds with commit rather than build date #67

Distinguish builds with commit rather than build date

Distinguish builds with commit rather than build date #67

Workflow file for this run

name: linux
on:
push:
paths:
- 'src/**'
- 'data-*/**'
- 'packaging/**'
- 'CMakeLists.txt'
- '.github/workflows/linux.yml'
pull_request:
paths:
- 'src/**'
- 'data-*/**'
- 'packaging/**'
- 'CMakeLists.txt'
- '.github/workflows/linux.yml'
jobs:
linux:
runs-on: ubuntu-latest
container:
image: debian:bullseye
env: { LANG: "C.UTF-8" }
steps:
- uses: actions/checkout@v4
- name: Install deps
run: |
apt-get update
apt-get install -y g++ libgtk-3-dev libgl-dev libglew-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libfreetype6-dev cmake ninja-build desktop-file-utils ca-certificates wget file --no-install-recommends
wget https://github.com/principia-game/linux-deps/releases/download/latest/deps.tar.gz -O linux-deps.tar.gz
tar -xaf linux-deps.tar.gz -C /
- name: Build
run: |
mkdir build; cd build
../packaging/build-appimage.sh
- name: Upload output as artifact
uses: actions/upload-artifact@v4
with:
name: Principia-x86_64.AppImage
path: build/Principia-x86_64.AppImage