Skip to content

Adding macros for math min, max, and clamp. #67

Adding macros for math min, max, and clamp.

Adding macros for math min, max, and clamp. #67

name: ubuntu-gcc-build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install updates
run: |
sudo apt install gcc-11
sudo apt install g++-11
- name: get cmake
uses: lukka/get-cmake@latest
with:
useLocalCache: true
useCloudCache: false
cmakeVersion: "3.25.0"
- name: run-vcpkg
uses: lukka/[email protected]
with:
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
vcpkgGitCommitId: 'efca044b75fbf481d6650ce4d3b223d8af94f7a7'
- name: run build
uses: lukka/[email protected]
with:
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
configurePreset: 'ninja-multi-vcpkg'
configurePresetAdditionalArgs: "['-DIS_CI_BUILD=true']"
buildPreset: 'ninja-multi-vcpkg'
- name: run unit tests
run: |
echo "Running seika tests!"
${{ github.workspace }}/builds/Debug/seika_test