mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-05 02:00:31 +08:00
25 lines
494 B
YAML
25 lines
494 B
YAML
name: test
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
test:
|
|
name: Run CMake Test 🧪
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Build Tools
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y gcc cmake
|
|
|
|
- name: Build and Run Tests
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake -DBUILD=test ..
|
|
make
|
|
make test || ctest --rerun-failed --output-on-failure
|