Skip to content

Commit

Permalink
chore: add ubuntu 22.04 lts to ci
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <christian@aperture.us>
  • Loading branch information
paralin committed Feb 17, 2024
1 parent 3354f13 commit 2000f89
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/buildroot-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.build-os }}
strategy:
matrix:
build-os: [ubuntu-latest, ubuntu-22.04]
env:
'SKIFF_WORKSPACE': docker
'SKIFF_CONFIG': virt/docker,core/gentoo
Expand All @@ -31,17 +34,17 @@ jobs:
- name: Clear caches if necessary
run: |
# necessary to save space
if [ ! -f ~/br-cache/ccache-v5 ]; then
if [ ! -f ~/br-cache/ccache-v1 ]; then
echo "Clearing old compiler cache..."
rm -rf ~/br-cache/ccache* || true
mkdir -p ~/br-cache/ccache
touch ~/br-cache/ccache-v5
touch ~/br-cache/ccache-v1
fi
if [ ! -f ~/br-cache/dl-v5 ]; then
if [ ! -f ~/br-cache/dl-v1 ]; then
echo "Clearing old downloads cache..."
rm -rf ~/br-cache/dl* || true
mkdir -p ~/br-cache/dl
touch ~/br-cache/dl-v5
touch ~/br-cache/dl-v1
fi
- name: Install buildroot apt deps
Expand Down Expand Up @@ -75,7 +78,9 @@ jobs:
docker save skiffos/skiffos:latest > ./workflow-artifacts/docker-image.tar
# Upload docker image
- uses: actions/upload-artifact@v4
- name: Upload Docker container image artifact
# if: matrix.build-os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: docker-image.tar
path: ${{ github.workspace }}/workflow-artifacts/docker-image.tar
Expand Down

0 comments on commit 2000f89

Please sign in to comment.