ccs-daily-build #439
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ccs-daily-build | |
# 5 AM MST (11 AM UTC) on every day | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 11 * * *' | |
jobs: | |
sync: | |
name: 'Daily build with all configurations' | |
runs-on: ubuntu-latest | |
# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
# Checkout the repository to the GitHub Actions runner | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ssh-key: ${{ secrets.SUBMODULE_CONTENT_PULL_KEY }} # Needed to checkout private submodules | |
submodules: 'recursive' | |
- name: Update submodules to master/main branch | |
run: | | |
git submodule init | |
git submodule update | |
git submodule foreach 'git checkout master || :' | |
git submodule foreach git pull | |
- name: Build ccs project (Debug config) | |
uses: AlbertaSat/[email protected] | |
with: | |
config: Debug | |
- name: Build ccs project (ExAlta2 config) | |
uses: AlbertaSat/[email protected] | |
with: | |
config: Exalta2 | |
- name: Build ccs project (Flatsat config) | |
uses: AlbertaSat/[email protected] | |
with: | |
config: Flatsat | |
- name: Build ccs project (AuroraSat config) | |
uses: AlbertaSat/[email protected] | |
with: | |
config: Aurorasat | |
- name: Build ccs project (YukonSat config) | |
uses: AlbertaSat/[email protected] | |
with: | |
config: Yukonsat |