Skip to content

Move Wi-Fi OS agnostic code from sdk-nrf #3

Move Wi-Fi OS agnostic code from sdk-nrf

Move Wi-Fi OS agnostic code from sdk-nrf #3

Workflow file for this run

name: Linux build
on:
pull_request:
branches: [ "main" ]
jobs:
build:
# Latest kernel versions won't work for nRF70 driver (this has 5.15)
runs-on: ubuntu-20.04
steps:
- name: Update PATH for west
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Checkout OS agnostic code
uses: actions/checkout@v3
with:
path: ncs/nrfxlib
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Checkout Linux driver
uses: actions/checkout@v3
with:
path: npg/linux
repository: NordicPlayground/nrf70-linux-driver
ref: main
fetch-depth: 0
- name: cache-pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-doc-pip
- name: Install dependencies
run: |
sudo apt install device-tree-compiler
- name: Install python dependencies
run: |
pip3 install setuptools
pip3 install wheel
pip3 install python-magic lxml junitparser gitlint pylint pykwalify yamllint
pip3 install west
- name: Prepare Linux build
working-directory: npg/linux
run: |
cp -rf ../../ncs/nrfxlib/nrf_wifi ../nrf
ls -l ../
- name: make
env:
BASE_REF: ${{ github.base_ref }}
run: |
sudo apt install linux-headers-$(uname -r)
make clean all 2>&1 1> make.log
make clean all LOW_POWER=1 2>&1 1> make_lpm.log
make clean all MODE=RADIO-TEST 2>&1 1> make_rt.log
- name: upload-results
uses: actions/upload-artifact@v3
# Always collect artifacts, even if the build failed
if: always()
continue-on-error: true
with:
name: build-results
path: |
make.log
make_lpm.log
make_rt.log
west.update.log
west.update2.log