mirror of
https://github.com/synthetos/g2.git
synced 2026-09-27 18:13:40 +08:00
Minor updates to CI/CD Pipeline
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: C/C++ CI
|
name: Build G2
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -10,19 +10,21 @@ on:
|
|||||||
# branches:
|
# branches:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout:
|
Build:
|
||||||
name: checkout the repo with submodules
|
name: Checkout and Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Cache Tools
|
- name: Cache Tools
|
||||||
id: cache-tools
|
id: cache-tools
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ./Motate/Tools/linux
|
path: ./Motate/Tools/linux
|
||||||
key: ${{ runner.os }}-tools-02 # Change the number to invalidate the tools caches
|
key: ${{ runner.os }}-tools-03 # Change the number to invalidate the tools caches
|
||||||
|
|
||||||
- name: prepare
|
- name: prepare
|
||||||
working-directory: ${{ github.workspace }}/g2core/
|
working-directory: ${{ github.workspace }}/g2core/
|
||||||
|
|||||||
Reference in New Issue
Block a user