aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/compile.yml
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-05 13:00:01 -0700
committerSelene ToyKeeper2023-11-05 13:00:01 -0700
commit0aeb1b226c10586c8923b818a9dda7d51cab798a (patch)
tree0d576b80c75043fbb796ad3b6173ecbfd517ff34 /.github/workflows/compile.yml
parentMerge branch 'actions' of github.com:gretel/anduril-tk into gretel-actions (diff)
downloadanduril-0aeb1b226c10586c8923b818a9dda7d51cab798a.tar.gz
anduril-0aeb1b226c10586c8923b818a9dda7d51cab798a.tar.bz2
anduril-0aeb1b226c10586c8923b818a9dda7d51cab798a.zip
initial test to fix branch names and see if actions work
Diffstat (limited to '.github/workflows/compile.yml')
-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: