Skip to content

Commit

Permalink
github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
whatdoineed2do/Ray committed Jan 26, 2024
1 parent bf3c418 commit 947e432
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: C/C++ CI

on:
push:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -yq \
build-essential git autotools-dev autoconf autoconf-archive libtool \
libmagick++-dev \
libexiv2-dev
- name: Build all
run: |
autoreconf --install
autoconf
./configure
make
- name: Build without exiv2
run: |
autoreconf --install
autoconf
./configure --disable-exiv2
make clean
make
- name: Build with debug
run: |
autoreconf --install
autoconf
git checkout src/Makefile.am
./configure --enable-debug
make clean
make

0 comments on commit 947e432

Please sign in to comment.