Compare commits
1 Commits
lju/testin
...
caf8877307
| Author | SHA1 | Date | |
|---|---|---|---|
| caf8877307 |
@@ -1,18 +1,21 @@
|
|||||||
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]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
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
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|||||||
Reference in New Issue
Block a user