Skip to content

Commit

Permalink
CI: add some basic GitHub actions (#181)
Browse files Browse the repository at this point in the history
* CI: add some basic GitHub actions

* do not treat warnings as errors
  • Loading branch information
chipitsine authored Oct 6, 2024
1 parent 31f7434 commit 10f51d6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on: [ push, workflow_dispatch ]

permissions:
contents: read

jobs:
Test:
strategy:
matrix:
cc: [ gcc, clang ]
fail-fast: false
name: ${{ matrix.cc }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y libltdl-dev
- name: configure
run: |
autoreconf -iv
CC=${{ matrix.cc }} ./configure
- name: build
run: |
##make AM_MAKEFLAGS=CFLAGS=-Werror
make

0 comments on commit 10f51d6

Please sign in to comment.