Skip to content

Commit

Permalink
github/core: building with cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Dec 19, 2024
1 parent 3a577eb commit e00b390
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,28 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: setup
- name: setup (macos)
if: runner.os == 'macos'
run: |
brew update
brew install autoconf automake
brew install cmake
- name: setup (linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update --fix-missing
sudo apt-get install -y --no-install-recommends cmake valgrind time curl
#- name: Setup libfec
# run: git clone /~https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install

- name: bootstrap
run: ./bootstrap.sh

- name: configure
run: ./configure

- name: make
run: make -j 2

- name: make check-doc
run: make check-doc

- name: make check
run: make -j 2 check
- name: build
run: |
mkdir build
cd build
cmake -DBUILD_AUTOTESTS=ON -DBUILD_BENCHMARKS=ON -DBUILD_EXAMPLES=ON ..
make -j2
./xautotest -v -o autotest.json
- name: make install
run: sudo make install
Expand Down

0 comments on commit e00b390

Please sign in to comment.