Skip to content

build ci: add noble #10

build ci: add noble

build ci: add noble #10

Workflow file for this run

name: Pull Request
on: pull_request
jobs:
checkpatch_review:
uses: nugulinux/.github/.github/workflows/checkpatch.yml@master
with:
commits: ${{ github.event.pull_request.commits }}
head_sha: ${{ github.event.pull_request.head.sha }}
secrets:
gh_token: ${{ secrets.gh_token }}
ubuntu:
runs-on: ubuntu-latest
needs: [checkpatch_review]
strategy:
matrix:
target:
[
bionic_x64,
bionic_arm64,
bionic_armhf,
focal_x64,
focal_arm64,
focal_armhf,
jammy_x64,
jammy_arm64,
jammy_armhf,
noble_x64,
noble_arm64,
noble_armhf,
]
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true
- name: Build
run: |
TARGET=${{ matrix.target }}
DIST=(${TARGET//_/ })
ln -s packaging/${DIST[0]} debian
ls -l
cd ..
chmod 777 $PWD
chmod 777 $PWD/nugu-epd
echo "Build debian package"
docker run -t --rm --privileged -v $PWD:$PWD -w $PWD/nugu-epd \
-v /var/lib/schroot/chroots \
nugulinux/buildenv:${{ matrix.target }} sbuild.sh
ls -l
sudo mv *.deb nugu-epd/
build_mac:
runs-on: macos-latest
needs: [checkpatch_review]
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true
- name: Build
run: |
mkdir build && cd build
cmake ..
make -j3
DESTDIR=tmp make install