ci: Add default build test
This commit is contained in:
21
.gitea/workflows/test.yml
Normal file
21
.gitea/workflows/test.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Gol CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install cmake
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y cmake
|
||||
- name: Build and test
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
Reference in New Issue
Block a user