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

34 lines
572 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:
runs-on: 1onyad1/cpp_ci:latest
container:
image: 1onyad1/cpp_ci:latest
# runs-on: ubuntu-latest
2023-05-08 22:38:52 +00:00
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
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