Skip to content

Update python core16 sad :( #20

Update python core16 sad :(

Update python core16 sad :( #20

Workflow file for this run

on: [push, pull_request]
jobs:
build_job:
strategy:
fail-fast: false
matrix:
include:
# series: "series24"
- series: "series22"
snapcraft_channel: "8.x"
runner_os: "ubuntu-22.04"
- series: "series20"
snapcraft_channel: "8.x"
runner_os: "ubuntu-22.04"
- series: "series18"
snapcraft_channel: "4.x"
runner_os: "ubuntu-22.04"
- snapcraft_channel: "4.x"
series: "series16"
runner_os: "ubuntu-20.04"
runs-on: ${{ matrix.runner_os }}
name: "Build: ${{ matrix.series }} (Snapcraft ${{ matrix.snapcraft_channel }})"
steps:
- name: Ubuntu 18.04 upgrade Python
if: ${{ matrix.runner_os == 'ubuntu-20.04' }}
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt -y update
sudo apt install -y -qq python3.10
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
sudo update-alternatives --set python /usr/bin/python3.10
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the repo
run: |
cd checkbox-core-snap/
./prepare.sh ${{ matrix.series }}
- uses: docker/setup-qemu-action@v1
- uses: diddlesnaps/snapcraft-multiarch-action@v1
with:
architecture: armhf
snapcraft-channel: ${{ matrix.snapcraft_channel }}
path: "checkbox-core-snap/${{matrix.series}}"
- name: Show the artifact
run: |
ls checkbox-core-snap/series22
- uses: actions/upload-artifact@v4
with:
path: "checkbox-core-snap/${{matrix.series}}/*.snap"