From 4dbfef08bc885ed34a9abe50318a0081ed390180 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sat, 18 Apr 2020 05:03:09 +0000 Subject: [PATCH 1/3] Github Actions instead of Travis and AppVeyor --- .travis.yml | 10 ---------- README.md | 4 +--- appveyor.yml | 30 ------------------------------ 3 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 782c697..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -# Documentation: http://docs.travis-ci.com/user/languages/julia/ -language: julia -os: - - linux - - osx -julia: - - 1.0 - -notifications: - email: false diff --git a/README.md b/README.md index bd7991f..8a6f89c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # QML - -[![Build Status](https://travis-ci.org/barche/QML.jl.svg?branch=master)](https://travis-ci.org/barche/QML.jl) -[![Build status](https://ci.appveyor.com/api/projects/status/7edud4w38g8m17yw?svg=true)](https://ci.appveyor.com/project/barche/qml-jl) +[![Build Status](https://github.com/barche/QML.jl/workflows/CI/badge.svg)](https://github.com/barche/QML.jl/actions?query=workflow%3ACI) This package provides an interface to [Qt5 QML](http://qt.io/). It uses the [`CxxWrap`](https://github.com/barche/CxxWrap.jl) package to expose C++ classes. Current functionality allows interaction between QML and Julia using basic numerical and string types, as well as display of PNG images and a very experimental OpenGL rendering element (see `example/gltriangle.jl`). diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index df27631..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,30 +0,0 @@ -environment: - matrix: - - julia_version: 1 - -platform: - - x86 # 32-bit - - x64 # 64-bit - -branches: - only: - - master - - /release-.*/ - -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: true - -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%" - \ No newline at end of file From adf8defc15e012534d451c08d2c418de67fb201b Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sat, 18 Apr 2020 00:04:23 -0500 Subject: [PATCH 2/3] Create ci.yml --- .github/workflows/ci.yml | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..8d08251 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,45 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + version: + - '1.0' + - '1.4' + - 'nightly' + os: + - ubuntu-latest + - macOS-latest + - windows-latest + arch: + - x64 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@latest + docs: + name: Documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: '1.4' + - run: | + julia --project=docs -e ' + using Pkg + Pkg.develop(PackageSpec(path=pwd())) + Pkg.instantiate()' + - run: julia --project=docs docs/make.jl + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} From 119aba444491f10fd8ce05b2411da5fd2624ba75 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sat, 18 Apr 2020 00:12:29 -0500 Subject: [PATCH 3/3] Use bash for shell + fail-fast false + doc 1.0 --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d08251..87ca2e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,11 +2,17 @@ name: CI on: - push - pull_request + +defaults: + run: + shell: bash + jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: version: - '1.0' @@ -33,7 +39,7 @@ jobs: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: - version: '1.4' + version: '1.0' - run: | julia --project=docs -e ' using Pkg