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