github ci update
This commit is contained in:
parent
55e94d8254
commit
1b5c778e82
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue