Skip to content

Commit

Permalink
Use reusable workflows in automated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlafleur-zip committed Mar 9, 2025
1 parent 6d6201f commit 085ef80
Showing 1 changed file with 15 additions and 57 deletions.
72 changes: 15 additions & 57 deletions .github/workflows/standard_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,65 +7,23 @@ on:
jobs:
cfr24:
runs-on: self-hosted
container:
image: docker://ghcr.io/concordia-fsae/containers/ubuntu-noble-lts:v1.0.0
steps:
- name: Clean
uses: AutoModality/action-clean@1077775f5ef0022fc3a9d6f93377921ea3701fa7
- name: Pull Branch
uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: 'true'
submodules: 'recursive'
- name: Execute build for CFR24
run: |
scons --platform=cfr24 -j32 --flashable-bootloader --package
- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts-cfr24
path: platform-artifacts/
uses: .github/workflows/build.yml@master
with:
build-targets: cfr24
flags: -j32 --flashable-bootloader --package
build-type: platform
cfr25:
runs-on: self-hosted
container:
image: docker://ghcr.io/concordia-fsae/containers/ubuntu-noble-lts:v1.0.0
steps:
- name: Clean
uses: AutoModality/action-clean@1077775f5ef0022fc3a9d6f93377921ea3701fa7
- name: Pull Branch
uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: 'true'
submodules: 'recursive'
- name: Execute build for CFR25
run: |
scons --platform=cfr25 -j32 --flashable-bootloader --package
- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts-cfr25
path: platform-artifacts/
uses: .github/workflows/build.yml@master
with:
build-targets: cfr25
flags: -j32 --flashable-bootloader --package
build-type: platform
updaters:
runs-on: self-hosted
needs: [ cfr24, cfr25 ]
container:
image: docker://ghcr.io/concordia-fsae/containers/ubuntu-noble-lts:v1.0.0
steps:
- name: Clean
uses: AutoModality/action-clean@1077775f5ef0022fc3a9d6f93377921ea3701fa7
- name: Pull Branch
uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: 'true'
submodules: 'recursive'
- name: Execute build for all bootloader updaters
run: |
scons --targets=bl:1000,1001,1002,1003,1004,1005,1010,1011,1030,1031,1032 -j32 --package
- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts-bootloader_updater
path: platform-artifacts/
uses: .github/workflows/build.yml@master
with:
build-targets: bl:1000,1001,1002,1003,1004,1005,1010,1011,1030,1031,1032
flags: -j32 --flashable-bootloader --package
build-type: targets

0 comments on commit 085ef80

Please sign in to comment.