GaPSE with oneAPI.jl #469
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
# | |
# This file is part of GaPSE | |
# Copyright (C) 2022 Matteo Foglieni | |
# | |
# GaPSE is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# GaPSE is distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
# General Public License for more details. | |
# | |
# You should have received a copy of the GNU General Public License | |
# along with GaPSE. If not, see <http://www.gnu.org/licenses/>. | |
# | |
name: Documentation | |
on: | |
push: | |
branches: | |
- main | |
- qls | |
tags: '*' | |
pull_request: | |
#on: [push] | |
#on: | |
# release: | |
# types: [published, edited, prereleased, released] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: '1.9' | |
- name: Install dependencies | |
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | |
- name: Build and deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key | |
run: julia --project=docs/ docs/make.jl | |
- uses: julia-actions/julia-processcoverage@v1 | |
with: | |
directories: src | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: lcov.inf |