Merge pull request 'Improving CI usage' (#7) from improvin-ci into main
All checks were successful
Gol CI / build (push) Successful in 2m36s
All checks were successful
Gol CI / build (push) Successful in 2m36s
Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
name: Gol CI
|
name: Gol CI
|
||||||
|
|
||||||
|
# Run on the merge of a pull request to the main branch
|
||||||
on:
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
@@ -9,10 +12,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install cmake
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y cmake
|
sudo apt-get install -y cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|||||||
Reference in New Issue
Block a user