Skip to content

Commit

Permalink
Use GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Oct 16, 2023
1 parent 8c3edbc commit ad3b17d
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: C/C++ CI

on:
push:
branches:
- master
- releases/*

pull_request:
branches:
- master

jobs:
ubuntu:
name: Ubuntu native build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get install -y --no-install-recommends autoconf automake >
libtool g++ gettext make libedit-dev libpcre2-dev libssl-dev zlib1g-dev

- name: Run tests
run: ./ci/build.sh

msys2:
name: MSYS2 native build
runs-on: windows-latest

defaults:
run:
shell: msys2 {0}

steps:
- uses: actions/checkout@v3

- uses: msys2/setup-msys2@v2
with:
msystem: MSYS

- name: Install dependencies
run: pacman -S --noconfirm autoconf automake libtool gcc gettext make >
libedit-devel pcre2-devel openssl-devel zlib-devel libiconv-devel

- name: Run tests
run: ./ci/build.sh

0 comments on commit ad3b17d

Please sign in to comment.