Skip to content

Commit 0b6e8d4

Browse files
authored
Merge pull request #4 from JuliaString/spj/updateci
Update CI
2 parents cda3c8d + 8da07fb commit 0b6e8d4

File tree

4 files changed

+57
-53
lines changed

4 files changed

+57
-53
lines changed

.drone.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
---
22
kind: pipeline
3-
name: linux - arm - Julia 1.0
3+
name: linux - arm64 - Julia 1.5
44

55
platform:
66
os: linux
7-
arch: arm
7+
arch: arm64
88

99
steps:
1010
- name: build
11-
image: julia:1.0
11+
image: julia:1.5
1212
commands:
1313
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
1414

1515
---
1616
kind: pipeline
17-
name: linux - arm64 - Julia 1.0
17+
name: linux - arm - Julia 1.6
1818

1919
platform:
2020
os: linux
21-
arch: arm64
21+
arch: arm
2222

2323
steps:
2424
- name: build
25-
image: julia:1.0
25+
image: julia:1.6
2626
commands:
2727
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
2828

2929
---
3030
kind: pipeline
31-
name: linux - arm64 - Julia 1.5
31+
name: linux - arm64 - Julia 1.6
3232

3333
platform:
3434
os: linux
3535
arch: arm64
3636

3737
steps:
3838
- name: build
39-
image: julia:1.5
39+
image: julia:1.6
4040
commands:
4141
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
version:
13+
- '1.5'
14+
- '1.6'
15+
- 'nightly'
16+
os:
17+
- ubuntu-latest
18+
- macOS-latest
19+
- windows-latest
20+
arch:
21+
- x64
22+
- x86
23+
exclude:
24+
- os: macOS-latest
25+
arch: x86
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: julia-actions/setup-julia@v1
29+
with:
30+
version: ${{ matrix.version }}
31+
arch: ${{ matrix.arch }}
32+
- uses: actions/cache@v1
33+
env:
34+
cache-name: cache-artifacts
35+
with:
36+
path: ~/.julia/artifacts
37+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
38+
restore-keys: |
39+
${{ runner.os }}-test-${{ env.cache-name }}-
40+
${{ runner.os }}-test-
41+
${{ runner.os }}-
42+
- uses: julia-actions/julia-buildpkg@v1
43+
- uses: julia-actions/julia-runtest@v1

.travis.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,23 @@
77

88
[release]: https://img.shields.io/github/release/JuliaString/PCRE2.jl.svg
99
[release-date]: https://img.shields.io/github/release-date/JuliaString/PCRE2.jl.svg
10+
[checks]: https://img.shields.io/github/checks-status/JuliaString/PCRE2.jl/master
1011

1112
[license-img]: http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat
1213
[license-url]: LICENSE.md
1314

1415
[gitter-img]: https://badges.gitter.im/Join%20Chat.svg
1516
[gitter-url]: https://gitter.im/JuliaString/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
1617

17-
[travis-url]: https://travis-ci.org/JuliaString/PCRE2.jl
18-
[travis-s-img]: https://travis-ci.org/JuliaString/PCRE2.jl.svg
19-
[travis-m-img]: https://travis-ci.org/JuliaString/PCRE2.jl.svg?branch=master
20-
2118
[codecov-url]: https://codecov.io/gh/JuliaString/PCRE2.jl
2219
[codecov-img]: https://codecov.io/gh/JuliaString/PCRE2.jl/branch/master/graph/badge.svg
2320

2421
[contrib]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
2522

26-
[![][release]][pkg-url] [![][release-date]][pkg-url] [![][license-img]][license-url] [![contributions welcome][contrib]](https://github.com/JuliaString/PCRE2.jl/issues)
27-
28-
| **Julia Version** | **Unit Tests** | **Coverage** |
29-
|:------------------:|:------------------:|:---------------------:|
30-
| [![][julia-release]][julia-url] | [![][travis-s-img]][travis-url] | [![][codecov-img]][codecov-url]
31-
| Julia Latest | [![][travis-m-img]][travis-url] | [![][codecov-img]][codecov-url]
23+
[![][release]][pkg-url] [![][release-date]][pkg-url] [![][checks]][pkg-url] [![][codecov-img]][codecov-url] [![][license-img]][license-url] [![contributions welcome][contrib]](https://github.com/JuliaString/PCRE2.jl/issues)
3224

3325
The `PCRE2` package implements a low-level API for accessing the PCRE libraries (8, 16, and 32-bit)
34-
It is intended to replace `Base.PCRE`, which is not threadsafe, only supports UTF-8, and is using an old version of the PCRE library (10.30, current version is 10.31)
26+
It was intended to replace `Base.PCRE` which was not threadsafe, as well as missing non-UTF-8 support.
27+
28+
`Base.PCRE` still only supports UTF-8, which is why this is needed for the Strs package.
29+
It is my intention to change this to use the libraries now created by the BinaryBuilder.

0 commit comments

Comments
 (0)