Skip to content

Commit

Permalink
Add GitHub CI workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed May 14, 2024
1 parent 30e6eef commit ea2099e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install deps
run: sudo apt install -y meson
- name: Build new git, sigh
run: |
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.45.0.tar.xz
tar -xJ git-2.45.0
cd git-2.45.0
make -j$(nproc)
sudo make install
- name: Configure
run: meson setup build
- name: Test
run: meson test -C build --print-errorlogs

0 comments on commit ea2099e

Please sign in to comment.