-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
whatdoineed2do/Ray
committed
Jan 26, 2024
1 parent
bf3c418
commit 947e432
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||