Commit 7716e5ee authored by Erik Reider's avatar Erik Reider

Separate arch and ubuntu GH Actions into their own files. Fixes #151

parent 0fda32e7
# This is a basic workflow to help you get started with Actions # This is a basic workflow to help you get started with Actions
name: Building name: Check build for Arch.
# Controls when the workflow will run # Controls when the workflow will run
on: on:
...@@ -15,15 +15,9 @@ on: ...@@ -15,15 +15,9 @@ on:
jobs: jobs:
build: build:
strategy:
matrix:
distro:
- archlinux
- ubuntu
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: erikreider/swaync:${{ matrix.distro }} image: erikreider/swaync:archlinux
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Meson configure - name: Meson configure
......
# This is a basic workflow to help you get started with Actions
name: Check build for latest Ubuntu LTS.
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: erikreider/swaync:ubuntu
steps:
- uses: actions/checkout@v2
- name: Meson configure
run: meson build
- name: Build
run: ninja -C build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment