You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
31 lines
1.0 KiB
name: Cygwin Build |
|
|
|
on: [push, pull_request, workflow_dispatch] |
|
|
|
jobs: |
|
build: |
|
runs-on: 'windows-latest' |
|
|
|
steps: |
|
- uses: actions/checkout@v2 |
|
with: |
|
submodules: 'recursive' |
|
- name: Install cygwin |
|
env: |
|
HOME: ${{ runner.workspace }}/ardupilot |
|
run: | |
|
choco install cygwin --params "/InstallDir:C:\Cygwin /NoStartMenu /NoAdmin" |
|
choco install cygwin32-gcc-g++ python36 python36-future python36-lxml python36-pip python36-setuptools python36-wheel git libexpat procps gettext --source cygwin |
|
C:\Cygwin\bin\bash --login -c "ln -sf /usr/bin/python3.6 /usr/bin/python && ln -sf /usr/bin/pip3.6 /usr/bin/pip" |
|
- name: Build SITL |
|
env: |
|
HOME: ${{ runner.workspace }}/ardupilot |
|
run: | |
|
C:\Cygwin\bin\bash --login -c "Tools/scripts/cygwin_build.sh" |
|
|
|
- name: Archive build |
|
uses: actions/upload-artifact@v2 |
|
with: |
|
name: binaries |
|
path: artifacts |
|
retention-days: 7
|
|
|