github ci update

This commit is contained in:
Adam Fowler 2020-08-03 14:00:55 +01:00
parent 55e94d8254
commit 1b5c778e82
1 changed files with 4 additions and 11 deletions

View File

@ -10,21 +10,16 @@ jobs:
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Build
run: swift build
- name: Test
- name: Build and Test
run: swift test
linux:
runs-on: ubuntu-latest
strategy:
matrix:
tag: ['5.0', '5.1']
tag: ['5.0', '5.1', '5.2']
container:
image: swift:${{ matrix.tag }}
volumes:
- $GITHUB_WORKSPACE:/src
options: --workdir /src
steps:
- name: Checkout
uses: actions/checkout@v1
@ -34,8 +29,6 @@ jobs:
run: |
apt-get update -qq
apt-get install -q -y tzdata libssl-dev zlib1g-dev
- name: Build
run: swift build
- name: Test
- name: Build and Test
run: swift test