From b8537f76d4153ca992e8fd1ed0c9888d2b1beda5 Mon Sep 17 00:00:00 2001 From: Stephen Mathieson <571265+stephenmathieson@users.noreply.github.com> Date: Fri, 21 Jul 2023 10:49:13 -0400 Subject: [PATCH] Replace Travis with GitHub Actions (#17) --- .github/workflows/tests.yml | 12 ++++++++++++ .travis.yml | 10 ---------- 2 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/tests.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..2a0fedd --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,12 @@ +name: Tests + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: sudo apt install -y valgrind + - run: make test + - run: valgrind --leak-check=full --error-exitcode=5 ./test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 13cfc08..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: c -before_install: - - sudo apt-get update - - sudo apt-get install libcurl4-gnutls-dev valgrind -qq - - git clone https://github.com/clibs/clib.git /tmp/clib - - sudo make -C /tmp/clib install -install: clib install --dev -script: - - make test - - valgrind --leak-check=full --error-exitcode=5 ./test > /dev/null