|
10 | 10 |
|
11 | 11 | jobs:
|
12 | 12 | tests:
|
13 |
| - |
14 | 13 | runs-on: ubuntu-latest
|
15 | 14 | timeout-minutes: 10
|
16 | 15 |
|
17 | 16 | steps:
|
18 | 17 | - name: Clone this repository
|
19 |
| - uses: actions/checkout@v3 |
| 18 | + uses: actions/checkout@v4 |
20 | 19 | with:
|
21 | 20 | submodules: 'true'
|
22 | 21 |
|
23 |
| - - name: Clone oresat-configs repository |
24 |
| - uses: actions/checkout@v3 |
25 |
| - with: |
26 |
| - repository: oresat/oresat-configs |
27 |
| - path: resources/oresat-configs |
28 |
| - |
29 | 22 | - name: Set up Python 3.10
|
30 |
| - uses: actions/setup-python@v3 |
| 23 | + uses: actions/setup-python@v5 |
31 | 24 | with:
|
32 | 25 | python-version: "3.10"
|
33 | 26 |
|
34 |
| - - name: Build and install oresat-configs |
35 |
| - working-directory: resources/oresat-configs |
| 27 | + - name: Install oresat-configs |
36 | 28 | run: |
|
37 | 29 | python -m pip install --upgrade pip
|
38 |
| - pip install -r requirements.txt |
39 |
| - python -m build |
40 |
| - pip install dist/*.whl |
41 |
| -
|
42 |
| - - name: Clean up oresat-configs |
43 |
| - run: rm -rf resources/oresat-configs |
| 30 | + pip install oresat-configs |
44 | 31 |
|
45 | 32 | - name: Install Ubuntu dependencies
|
46 | 33 | run: |
|
47 |
| - sudo apt install autoconf automake gcc-arm-none-eabi libcapstone4 libftdi1-2 libgpiod2 libhidapi-hidraw0 libtool libusb-1.0-0 libusb-1.0-0-dev pkg-config srecord stlink-tools tcl xxd patch |
48 |
| -
|
49 |
| - - name: Install eds-utils |
50 |
| - run: | |
51 |
| - python -m pip install --upgrade pip |
52 |
| - pip install --no-deps eds-utils |
| 34 | + sudo apt update |
| 35 | + sudo apt install -y gcc-arm-none-eabi srecord xxd |
53 | 36 |
|
54 | 37 | - name: Apply C3 patches
|
55 | 38 | working-directory:
|
56 | 39 | ext/ChibiOS
|
57 | 40 | run: |
|
58 |
| - patch -p0 < ./../../src/f4/app_control/stm32f42x_43x_efl.patch |
59 |
| - patch -p1 < ./../../src/f4/app_control/stm32f439_hmacsha256.patch |
| 41 | + patch -p0 < ../../src/f4/app_control/stm32f42x_43x_efl.patch |
| 42 | + patch -p1 < ../../src/f4/app_control/stm32f439_hmacsha256.patch |
60 | 43 |
|
61 | 44 | - name: Compile f0 apps
|
62 | 45 | run: |
|
|
0 commit comments