cl3/.gitea/workflows/check-tests.yml
onyad 5bb7881df3
Some checks failed
Tests Check / test-check (push) Failing after 9s
Clang-format Check / clang-format-check (push) Has been cancelled
Обновить .gitea/workflows/check-tests.yml
2023-10-26 09:10:01 +00:00

34 lines
606 B
YAML

name: Tests Check
on: [push]
jobs:
test-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
# - name: Install g++
# run: |
# apt-get update -y
# apt-get upgrade -y
# apt-get install -y g++ cmake make lua5.3-dev
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: g++ make lua5.3-dev
version: 1.0
- name: Build
run: |
mkdir build
cd build
cmake ..
cmake --build .
- name: Test
run: |
cd build
make test