From 7af5d0de7a8fa823f2f1913fed9cd7c1bf84b956 Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Sat, 22 Jul 2023 17:51:59 -0700 Subject: [PATCH] CI/CD update --- .github/workflows/ci.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a922930..9a0e04f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,6 @@ -# This is a basic workflow to help you get started with Actions - name: CI -# Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the master branch push: branches: [ master ] pull_request: @@ -13,25 +9,22 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" build: - # The type of runner that the job will run on runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - # Runs a single command using the runners shell - name: Install dev packages - run: sudo apt-get install -y build-essential + run: | + sudo apt-get install -y build-essential - # Runs a set of commands using the runners shell - name: Compile the code run: | ./configure make + + - name: Run the unit tests + run: | make test