feat(byteswap): adding signed versions, feature flags #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake | |
on: | |
push: | |
branches: [ "dev/**", "alpha" ] | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
env: | |
unit_test_dir: ${{github.workspace}}/test/catch | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
with: | |
submodules: recursive | |
- name: Build | |
uses: threeal/cmake-action@v2.1.0 | |
with: | |
source-dir: ${{env.unit_test_dir}} | |
- name: Test | |
uses: threeal/ctest-action@v1.1.0 | |
with: | |
# DEBT: Grab "build-dir" from above cmake-action | |
test-dir: ${{env.unit_test_dir}}/build | |