Initial CI/CD pipeline #3

Merged
echo merged 10 commits from feature/ci-pipeline into main 2026-06-23 23:36:15 +00:00
Showing only changes of commit ecaf7a785e - Show all commits

View file

@ -6,9 +6,7 @@ on:
jobs: jobs:
lint: lint:
runs-on: docker runs-on: swift-latest
container:
image: swift:6.3
steps: steps:
- name: Install Node.js - name: Install Node.js
run: apt-get update -qq && apt-get install -y -qq nodejs run: apt-get update -qq && apt-get install -y -qq nodejs
@ -17,7 +15,7 @@ jobs:
run: swift format lint --recursive Sources/ run: swift format lint --recursive Sources/
flatpak-build: flatpak-build:
runs-on: docker runs-on: flatpak-builder-lint
container: container:
image: ghcr.io/flathub/flatpak-builder-lint:latest image: ghcr.io/flathub/flatpak-builder-lint:latest
options: --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined options: --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined
@ -32,3 +30,7 @@ jobs:
bundle: Luminate.flatpak bundle: Luminate.flatpak
cache-key: flatpak-pr-${{ forge.sha }} cache-key: flatpak-pr-${{ forge.sha }}
upload-artifact: false upload-artifact: false
keep-build-dirs: true
- name: Run tests
run: |
flatpak-builder --run flatpak_app dev.bscubed.Luminate.json swift test --enable-code-coverage