mirror of
https://github.com/synthetos/g2.git
synced 2026-02-05 18:49:54 +08:00
Minor updates to CI/CD Pipeline
This commit is contained in:
14
.github/workflows/build_g2.yml
vendored
14
.github/workflows/build_g2.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: C/C++ CI
|
||||
name: Build G2
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -10,19 +10,21 @@ on:
|
||||
# branches:
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
name: checkout the repo with submodules
|
||||
Build:
|
||||
name: Checkout and Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Cache Tools
|
||||
id: cache-tools
|
||||
uses: actions/cache@v1
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
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
|
||||
working-directory: ${{ github.workspace }}/g2core/
|
||||
|
||||
Reference in New Issue
Block a user