Skip to content

Commit

Permalink
CI: build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinas committed Apr 30, 2024
1 parent 97b7bc2 commit b5472ba
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
99 changes: 99 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: CI

on:
push:
pull_request:

env:
VERBOSE: 1

jobs:
build-test-debian-trixie:
name: Test on Debian trixie
runs-on: ubuntu-latest
container:
image: ghcr.io/pwmt/github-actions-debian:trixie
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Build and test
run: |
mkdir build
cd build
meson ..
ninja --verbose
ninja test --verbose
build-test-debian-bookworm:
name: Test on Debian bookworm
runs-on: ubuntu-latest
container:
image: ghcr.io/pwmt/github-actions-debian:bookworm
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Build and test
run: |
mkdir build
cd build
meson ..
ninja --verbose
ninja test --verbose
build-test-ubuntu-noble:
name: Test on Ubuntu noble
runs-on: ubuntu-latest
container:
image: ghcr.io/pwmt/github-actions-ubuntu:noble
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Build and test
run: |
mkdir build
cd build
meson ..
ninja --verbose
ninja test --verbose
build-test-ubuntu-jammy:
name: Test on Ubuntu jammy
runs-on: ubuntu-latest
container:
image: ghcr.io/pwmt/github-actions-ubuntu:jammy
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Build and test
run: |
mkdir build
cd build
meson ..
ninja --verbose
ninja test --verbose
build-test-archlinux:
name: Test on Archlinux
runs-on: ubuntu-latest
container:
image: ghcr.io/pwmt/github-actions-archlinux:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Build and test
run: |
mkdir build
cd build
meson ..
ninja --verbose
ninja test --verbose

0 comments on commit b5472ba

Please sign in to comment.