Skip to content

Commit b686b7a

Browse files
authored
Merge pull request #5 from JuliaString/spj/updateci
Change to use GitHub Actions
2 parents 24fc14c + 0407704 commit b686b7a

File tree

4 files changed

+78
-9
lines changed

4 files changed

+78
-9
lines changed

.drone.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,31 @@ steps:
1111
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)'"
14+
15+
---
16+
kind: pipeline
17+
name: linux - arm - Julia 1.6
18+
19+
platform:
20+
os: linux
21+
arch: arm
22+
23+
steps:
24+
- name: build
25+
image: julia:1.6
26+
commands:
27+
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
28+
29+
---
30+
kind: pipeline
31+
name: linux - arm64 - Julia 1.6
32+
33+
platform:
34+
os: linux
35+
arch: arm64
36+
37+
steps:
38+
- name: build
39+
image: julia:1.6
40+
commands:
41+
- "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

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uuid = "cb9422de-a9d8-5b68-86db-ff05833ab307"
33
keywords = ["Strings", "Characters", "Character Sets", "Encodings"]
44
license = "MIT"
55
desc = "Types, Traits and support for Character Sets, Encodings, and CSEs (Character Set Encodings)"
6-
version = "1.0.1"
6+
version = "1.1.0"
77

88
[deps]
99
ModuleInterfaceTools = "5cb8414e-7aab-5a03-a681-351269c074bf"
@@ -16,6 +16,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1616
test = ["Test"]
1717

1818
[compat]
19-
julia = "^1.0.0"
20-
ModuleInterfaceTools = "1.0.1"
21-
StrAPI = "1.0.0"
19+
julia = "^1.5"
20+
ModuleInterfaceTools = "^1.0.1"
21+
StrAPI = "1"

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
[gitter-img]: https://badges.gitter.im/Join%20Chat.svg
1515
[gitter-url]: https://gitter.im/JuliaString/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
1616

17-
[travis-url]: https://travis-ci.org/JuliaString/CharSetEncodings.jl
18-
[travis-s-img]: https://travis-ci.org/JuliaString/CharSetEncodings.jl.svg
19-
[travis-m-img]: https://travis-ci.org/JuliaString/CharSetEncodings.jl.svg?branch=master
17+
[checks]: https://img.shields.io/github/checks-status/JuliaString/CharSetEncodings.jl/master
2018

2119
[codecov-url]: https://codecov.io/gh/JuliaString/CharSetEncodings.jl
2220
[codecov-img]: https://codecov.io/gh/JuliaString/CharSetEncodings.jl/branch/master/graph/badge.svg
@@ -27,8 +25,8 @@
2725

2826
| **Julia Version** | **Unit Tests** | **Coverage** |
2927
|:------------------:|:------------------:|:---------------------:|
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]
28+
| [![][julia-release]][julia-url] | [![][]][] | [![][codecov-img]][codecov-url]
29+
| Julia Latest | [![][checks]][pkg-url] | [![][codecov-img]][codecov-url]
3230

3331
## Architecture
3432
This provides the basic types and mode methods for dealing with character sets, encodings,

0 commit comments

Comments
 (0)