Skip to content

Commit

Permalink
Actually deal with AmazonLinux2 (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne committed Sep 23, 2023
1 parent 6e9f30c commit 4de4908
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
base-image:
- ubuntu:focal
- ubuntu:jammy
- amazonlinux:2
- redhat/ubi9:latest
test-args:
- '{}'
Expand All @@ -23,11 +22,28 @@ jobs:
container: ${{ matrix.base-image }}
steps:
- name: Checkout self
if: ${{ !startsWith(matrix.base-image, 'amazonlinux') }}
uses: actions/checkout@v4
- name: Test
uses: vapor/swiftly-action@main
with: ${{ fromJSON(matrix.test-args) }}
test-amznlinux2:
strategy:
fail-fast: false
matrix:
base-image:
- amazonlinux:2
test-args:
- '{}'
- '{"toolchain":"latest"}'
- '{"toolchain":"5.9"}'
runs-on: ubuntu-latest
container: ${{ matrix.base-image }}
steps:
- name: Add missing dependencies
run: yum install -y git tar
- name: Checkout self
if: ${{ startsWith(matrix.base-image, 'amazonlinux') }}
uses: actions/checkout@v3
- name: Test
uses: vapor/swiftly-action@main
with: ${{ fromJSON(matrix.test-args) }}

0 comments on commit 4de4908

Please sign in to comment.