Skip to content

fix(timer): add timer class #503

fix(timer): add timer class

fix(timer): add timer class #503

Workflow file for this run

name: Linux
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
env:
BUILD_TYPE: MinSizeRel
jobs:
linux-native:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: cache
uses: actions/cache@v2
with:
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
path: "**/cpm_modules"
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: install dependencies
run: |
pip install jsonschema jinja2
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y build-essential cmake mesa-common-dev libgl1-mesa-dev libx11-dev mesa-common-dev mesa-utils libgl-dev python3-distutils libgl1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
- name: Configure CMake
run: cmake -Bbuild -H. -DCMAKE_BUILD_TYPE=MinSizeRel
- name: Build
# run: cmake --build build/ --parallel
run: cmake --build build/
- name: Release
uses: fnkr/[email protected]
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_COMPRESS: zip
GHR_PATH: build/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}