mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-06 18:50:31 +08:00
feat(ci): add test on push
This commit is contained in:
24
.github/workflows/test.yml
vendored
Normal file
24
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: test
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Run CMake Test 🧪
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up 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
|
||||
Reference in New Issue
Block a user