cl3/.gitea/workflows/check-tests.yml

34 lines
603 B
YAML
Raw Normal View History

2023-05-08 22:38:52 +00:00
name: Tests Check
on: [push]
jobs:
2023-05-08 22:41:07 +00:00
test-check:
2023-05-08 22:38:52 +00:00
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 lua-dev
version: 1.0
2023-05-08 22:38:52 +00:00
2023-05-08 22:41:07 +00:00
- name: Build
2023-05-08 22:38:52 +00:00
run: |
mkdir build
cd build
cmake ..
cmake --build .
2023-05-08 22:41:07 +00:00
- name: Test
run: |
2023-05-08 23:19:49 +00:00
cd build
2023-05-08 22:38:52 +00:00
make test