Skip to content

Add format workflow #55

Add format workflow

Add format workflow #55

Workflow file for this run

name: Build hyprland-virtual-desktops
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
check-format:
uses: ./.github/workflows/format.yaml

Check failure on line 15 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yaml" -> "./.github/workflows/format.yaml" : workflow is not reusable as it is missing a `on.workflow_call` trigger
build:
name: 'Build hyprland-virtual-desktops'
runs-on: ubuntu-latest
needs:
- check-format
container:
image: archlinux
steps:
- name: Checkout repository action
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions
- name: Setup base on main
uses: ./.github/actions/setup_base
if: github.ref == 'refs/heads/main'|| github.base_ref == 'main'
with:
INSTALL_XORG_PKGS: true
branch: 'v0.42.0'
hyprwayland: 'v0.4.0'
- name: Setup base on dev
uses: ./.github/actions/setup_base
if: github.ref == 'refs/heads/dev'|| github.base_ref == 'dev'
with:
INSTALL_XORG_PKGS: true
branch: 'main'
- name: Compile Hyprland
shell: bash
run: |
cd Hyprland
make all
make install
- name: Build hyprland-virtual-desktops
env:
PKG_CONFIG_PATH: "/usr/local/share/pkgconfig/"
run: |
make all