diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index ac537aa..0000000 --- a/.drone.yml +++ /dev/null @@ -1,61 +0,0 @@ -kind: pipeline -name: linux-arm-1.3 - -platform: - os: linux - arch: arm - -steps: -- name: build - image: julia:1.3 - commands: - - uname -a - - julia --project=. -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)' - ---- - -kind: pipeline -name: linux-aarch64-1.3 - -platform: - os: linux - arch: arm64 - -steps: -- name: build - image: julia:1.3 - commands: - - uname -a - - julia --project=. -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)' - ---- - -kind: pipeline -name: linux-arm-1.4 - -platform: - os: linux - arch: arm - -steps: -- name: build - image: julia:1.4 - commands: - - uname -a - - julia --project=. -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)' - ---- - -kind: pipeline -name: linux-aarch64-1.4 - -platform: - os: linux - arch: arm64 - -steps: -- name: build - image: julia:1.4 - commands: - - uname -a - - julia --project=. -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)' diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..71f63e6 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,43 @@ +name: CI +on: + push: + branches: + - master + tags: '*' + pull_request: +concurrency: + # Skip intermediate builds: always. + # Cancel intermediate builds: only if it is a pull request build. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1.3' + - '1' + os: + - ubuntu-latest + - macos-latest + - windows-latest + arch: + - x64 + - x86 + exclude: + - os: macOS-latest + arch: x86 + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + show-versioninfo: true + - uses: julia-actions/cache@v1 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index d77d3a0..778c06f 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,9 +1,12 @@ name: TagBot on: - schedule: - - cron: 0 * * * * + issue_comment: + types: + - created + workflow_dispatch: jobs: TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' runs-on: ubuntu-latest steps: - uses: JuliaRegistries/TagBot@v1 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8dcc8f7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: julia -os: - - linux - - osx -julia: - - 1.3 - - 1.4 - - nightly -notifications: - email: false -git: - depth: 99999999 - -matrix: - allow_failures: - - julia: nightly - -after_success: - # push coverage results to Coveralls - - julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' - # push coverage results to Codecov - - julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' diff --git a/README.md b/README.md index e051d86..96a0acd 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ ## LightXML.jl -[![Build Status](https://travis-ci.org/JuliaIO/LightXML.jl.svg?branch=master)](https://travis-ci.org/JuliaIO/LightXML.jl) -[![Build status](https://ci.appveyor.com/api/projects/status/14l097yi92frqkqm/branch/master?svg=true)](https://ci.appveyor.com/project/tkelman/lightxml-jl/branch/master) -[![LightXML](http://pkg.julialang.org/badges/LightXML_0.6.svg)](http://pkg.julialang.org/?pkg=LightXML&ver=0.6) +[![CI](https://github.com/nhz2/LightXML.jl/actions/workflows/CI.yml/badge.svg?branch=master)](https://github.com/nhz2/LightXML.jl/actions/workflows/CI.yml) This package is a light-weight Julia wrapper of [libxml2](http://www.xmlsoft.org), which provides a minimal interface that covers functionalities that are commonly needed: diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 97743a8..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,43 +0,0 @@ -environment: - matrix: - - julia_version: 1.3 - - julia_version: 1.4 - - julia_version: nightly - -platform: - - x86 # 32-bit - - x64 # 64-bit - -# # Uncomment the following lines to allow failures on nightly julia -# # (tests will run but not make your overall status red) -# matrix: -# allow_failures: -# - julia_version: nightly - -branches: - only: - - master - - /release-.*/ - -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: false - -install: - - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) - -build_script: - - echo "%JL_BUILD_SCRIPT%" - - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" - -test_script: - - echo "%JL_TEST_SCRIPT%" - - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" - -# # Uncomment to support code coverage upload. Should only be enabled for packages -# # which would have coverage gaps without running on Windows -# on_success: -# - echo "%JL_CODECOV_SCRIPT%" -# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"