Skip to content

Allow curl redirects #94

Allow curl redirects

Allow curl redirects #94

Workflow file for this run

name: Replay_Boot
on:
push:
paths:
- '.github/workflows/Replay_Boot.yml'
- '**'
pull_request:
branches: master
paths:
- '.github/workflows/Replay_Boot.yml'
- '**'
workflow_dispatch:
jobs:
Build_R1_Firmware:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install deps
run: |
sudo apt-get install gcc-arm-none-eabi libarchive-zip-perl
arm-none-eabi-gcc -v
- name: Build
run: |
cd $GITHUB_WORKSPACE
./compile.sh
- name: Package
run: |
cd $GITHUB_WORKSPACE
./package.sh
mkdir -p $GITHUB_WORKSPACE/artifact
find . -maxdepth 1 -type f -name "*.zip" -exec mv {} $GITHUB_WORKSPACE/artifact \;
- uses: actions/upload-artifact@v3
with:
name: R1_Firmware
path: artifact
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |
artifact/*.zip
Verify_MacOSX_Build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
# version 8-2018-q4-major
# brew install arm-none-eabi-gcc
# brew install https://raw.githubusercontent.com/ARMmbed/homebrew-formulae/404948446fc686d76799f09dc5074d611ee6db72/arm-none-eabi-gcc.rb
- name: Install deps
run: |
brew tap ArmMbed/homebrew-formulae
brew tap-new $USER/armmbed
brew extract --version=8-2018-q4-major armmbed/homebrew-formulae/arm-none-eabi-gcc $USER/armmbed
brew install arm-none-eabi-gcc@8-2018-q4-major
arm-none-eabi-gcc -v
- name: Build
run: |
cd $GITHUB_WORKSPACE
./compile.sh
Verify_Windows_Build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install deps
run: |
choco install gcc-arm-embedded --version=7.2.1.20170904
arm-none-eabi-gcc -v
- name: Build
run: |
cd %GITHUB_WORKSPACE%\sw\arm_sw
compile.bat
shell: cmd
Build_HOSTED:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install deps
run: sudo apt-get install libncurses5-dev
- name: Build
run: |
cd $GITHUB_WORKSPACE/Replay_Boot
HOSTED=1 make
Build_VIDOR:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Retrieve Arduino IDE
run: |
cd $GITHUB_WORKSPACE/Replay_Boot
./install_arduino_vidor.sh
- name: Build
run: |
cd $GITHUB_WORKSPACE/Replay_Boot
VIDOR=1 make verify
- name: Package
run: |
cd $GITHUB_WORKSPACE
./package_vidor.sh
mkdir -p $GITHUB_WORKSPACE/artifact
find . -maxdepth 1 -type f -name "*.zip" -exec mv {} $GITHUB_WORKSPACE/artifact \;
- uses: actions/upload-artifact@v3
with:
name: replay_mkrvidor4000
path: artifact
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |
artifact/*.zip