Skip to content

Commit

Permalink
@lock is not exported on earlier Julias (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrumbiegel authored Apr 6, 2024
1 parent 6a3326c commit 49a32e0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
name: CI
on:
- push
- pull_request
pull_request:
branches:
- master
push:
tags:
- '*'
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -12,6 +23,7 @@ jobs:
version:
- '1'
- 'nightly'
- '1.6'
os:
- ubuntu-latest
- macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ColorVectorSpace = "0.8, 0.9, 0.10"
Colors = "0.11, 0.12"
FreeType = "4"
GeometryBasics = "0.4.1"
julia = "1"
julia = "1.6"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
2 changes: 1 addition & 1 deletion src/FreeTypeAbstraction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module FreeTypeAbstraction

using FreeType, Colors, ColorVectorSpace, GeometryBasics
using Base.Iterators: Repeated, repeated
import Base: /, *, ==
import Base: /, *, ==, @lock
import Base.Broadcast: BroadcastStyle, Style, broadcasted
using GeometryBasics: StaticVector

Expand Down
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ ENV["FREETYPE_ABSTRACTION_FONT_PATH"] = @__DIR__ # coverage

using FreeTypeAbstraction, Colors, ColorVectorSpace, GeometryBasics
using GeometryBasics: Vec2f
import FreeTypeAbstraction as FA
import FreeTypeAbstraction
const FA = FreeTypeAbstraction
using FreeType
using Test

Expand Down

0 comments on commit 49a32e0

Please sign in to comment.