Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kateBea authored Jun 1, 2024
1 parent 37974e2 commit 73a4420
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,22 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck

- name: Install CMake
run: sudo apt-get install cmake

- name: Create build directory
run: mkdir build

- name: Configure CMake
run: cd build && cmake ..

- name: Build
run: cd build && cmake --build .

- name: Run tests
run: cd build && ctest

0 comments on commit 73a4420

Please sign in to comment.