diff options
| author | Selene ToyKeeper | 2023-11-05 12:09:51 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-11-05 12:09:51 -0700 |
| commit | d98ab3ed24655cf48b14e4e6b175d259c2abdc7d (patch) | |
| tree | 3f3a3b22899431abce659047f6933daad62363e8 /.github/workflows | |
| parent | make clean: don't remove files in arch/dfp/ (diff) | |
| parent | basic compile workflow publishing artifacts to test (diff) | |
| download | anduril-d98ab3ed24655cf48b14e4e6b175d259c2abdc7d.tar.gz anduril-d98ab3ed24655cf48b14e4e6b175d259c2abdc7d.tar.bz2 anduril-d98ab3ed24655cf48b14e4e6b175d259c2abdc7d.zip | |
Merge branch 'actions' of github.com:gretel/anduril-tk into gretel-actions
https://github.com/ToyKeeper/anduril/pull/1
"simple github actions workflow for continous integration"
* 'actions' of github.com:gretel/anduril-tk:
basic compile workflow publishing artifacts to test
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/compile.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 0000000..9b06253 --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,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 |
