Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLafleur committed Nov 24, 2024
1 parent 65bc8b0 commit e26ae41
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Builds on push

on:
pull_request:
branches: [ master ]

jobs:
cfr24:
runs-on: self-hosted
container:
image: docker://ghcr.io/concordia-fsae/containers/ubuntu-noble-lts:v1.0.0
steps:
- name: Pull Branch
uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: 'true'
submodules: 'recursive'
- name: Enter environment
run: |
cd /__w/firmware/firmware
- name: Execute build for CFR24
run: |
scons --platform=cfr24 -j32
5 changes: 4 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ from oyaml import safe_load

# create a global environment which all targets can start from
GlobalEnv = Environment(REPO_ROOT_DIR=Dir("#"), tools=[])
GlobalEnv["ENV"]["TERM"] = environ["TERM"]
try:
GlobalEnv["ENV"]["TERM"] = environ["TERM"]
except Exception:
print("No terminal environment specified...")

# add option to choose target or platforam
AddOption("--targets", dest="targets", type="string", action="store")
Expand Down

0 comments on commit e26ae41

Please sign in to comment.