From: Skye Kelley <21977895+skyebeek@users.noreply.github.com> Date: Sun, 21 Jun 2026 17:19:04 +0000 (-0400) Subject: Create build test on push to github dev/master X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=refs%2Fremotes%2Forigin%2Fdev;p=dgamelaunch Create build test on push to github dev/master * Create c-cpp.yml * Revert configure.ac req to 2.71 --- diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..bff8c7a --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: + push: + branches: [ "master", "dev" ] + pull_request: + branches: [ "master", "dev" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v7 + - name: configure + run: ./autogen.sh --prefix=/srv/dgamelaunch-dev --enable-debugfile --enable-sqlite --enable-shmem --with-sqlite-db=/var/dgl/dgamelaunch.db --with-config-file=/srv/dgamelaunch-dv/etc/dgl/dgamelaunch.conf + - name: make + run: make diff --git a/configure.ac b/configure.ac index ef5f06c..bd939ba 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,9 @@ -dnl Use autoconf 2.72 +dnl Use autoconf 2.71 dnl (Things tend to break across versions, they're neither upwards nor dnl downward compatible. Blame GNU.) AC_INIT([dgamelaunch],[m4_translit(m4_esyscmd([git describe --abbrev=4 --dirty --tags --always || echo 1.6.1-roc]),m4_newline)]) -AC_PREREQ([2.72]) +AC_PREREQ([2.71]) AC_CONFIG_HEADERS([config.h])