blob: 9b062532bf71f4d7f97b6e60b74e0df44ce59b0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
name: anduril
on:
push:
branches: [ "main", "actions" ]
pull_request:
branches: [ "main" ]
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Requirements
run: |
sudo apt-get -qqy update
sudo apt-get -qqy install avr-libc binutils-avr wget gcc-avr unzip
- name: Install Device Family Pack
run: |
./make dfp
- name: Compile All
run: |
./bin/build-all.sh
echo "ARTIFACT_NAME=${GITHUB_WORKFLOW}-${GITHUB_REF_NAME}-$(git rev-parse --short ${GITHUB_SHA})-${GITHUB_RUN_NUMBER}" >> "${GITHUB_ENV}"
- name: Store Artifacts
uses: actions/upload-artifact@master
with:
name: ${{ env.ARTIFACT_NAME }}
if-no-files-found: error
path: |
hex/*.hex
|