aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/compile.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/compile.yml17
1 files changed, 11 insertions, 6 deletions
diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml
index 9b06253..78ca9cc 100644
--- a/.github/workflows/compile.yml
+++ b/.github/workflows/compile.yml
@@ -1,29 +1,34 @@
-name: anduril
+name: build all
on:
push:
- branches: [ "main", "actions" ]
+ branches: [ "trunk", "gretel-actions" ]
pull_request:
- branches: [ "main" ]
+ branches: [ "trunk" ]
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
+ sudo apt -qqy update
+ sudo apt -qqy install avr-libc binutils-avr gcc-avr wget unzip
+
- name: Install Device Family Pack
run: |
./make dfp
+
- name: Compile All
run: |
- ./bin/build-all.sh
+ ./make
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: