Skip to content

✔️ Test cppp-reiconv library #8

✔️ Test cppp-reiconv library

✔️ Test cppp-reiconv library #8

Workflow file for this run

name: ✔️ Test cppp-reiconv library
on:
release:
types: [published]
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
test-linux:
runs-on: ubuntu-latest
steps:
#--------------------------------------------collect--------------------------------------------
- uses: actions/checkout@v3
- name: 📁 Collect dependencies
run: |
sudo apt-get update
sudo apt-get install gcc cmake -y
- name: 🧰 Setup build-aux
run: |
./setup.sh
#--------------------------------------------build--------------------------------------------
- name: 🛠️ Build
run : |
mkdir -p build
cd build
cmake .. -DENABLE_EXTRA=ON -DENABLE_TEST=ON
cmake --build .
cd ..
#--------------------------------------------test--------------------------------------------
- name: ✔️ Test
run : |
cd build
ctest --verbose
cd ..
test-macos:
runs-on: macos-latest
steps:
#--------------------------------------------collect--------------------------------------------
- uses: actions/checkout@v3
- name: 📁 Collect dependencies
run: |
brew install cmake
- name: 🧰 Setup build-aux
run : |
./setup.sh
#--------------------------------------------build--------------------------------------------
- name: 🛠️ Build
run : |
mkdir build
cd build
cmake .. -DENABLE_EXTRA=ON -DENABLE_TEST=ON
cmake --build .
cd ..
#--------------------------------------------test--------------------------------------------
- name: ✔️ Test
run : |
cd build
ctest --verbose
cd ..