Skip to content

Commit

Permalink
More work on GitHub Actions.
Browse files Browse the repository at this point in the history
- Add Workflows for automated releases and GitHub CodeQL code analysis.
- Remove GitHub Actions from this branch, as we're referencing those on the master branch anyway.
- Remove Travis CI and AppVeyor config files for this branch.
  • Loading branch information
c-lipka committed Jun 26, 2021
1 parent a475936 commit 5385cec
Show file tree
Hide file tree
Showing 19 changed files with 526 additions and 437 deletions.
16 changes: 0 additions & 16 deletions .github/actions/unix_bundle_ignored/action.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/actions/unix_check_repo/action.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/actions/unix_configure/action.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/actions/unix_getlibs_apt/action.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/actions/unix_getlibs_brew/action.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/actions/unix_make/action.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/actions/unix_prebuild/action.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/actions/windows_build/action.yml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: 'Code Analysis'

on:
push:
branches: [ 'master', 'release/*' ]
# There's no actual source code to examine in the following directories.
paths-ignore: [ 'distribution/**', 'doc/**', 'source-doc/**', 'tools/**' ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ 'master', 'release/*' ]
# There's no actual source code to examine in the following directories.
paths-ignore: [ 'distribution/**', 'doc/**', 'source-doc/**', 'tools/**' ]

jobs:
analyze:
name: 'Analyze'
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:

- name: 'Check out Repository'
uses: actions/checkout@v2

- name: 'Initialize CodeQL'
uses: github/codeql-action/init@v1
with:
languages: cpp
# Comment out the following to perform just the bare minimum of checks:
queries: security-extended
# Use the following instead to perform the whole suite of pre-defined checks:
# queries: security-and-quality

- name: 'Install Prerequisites'
uses: POV-Ray/povray/.github/actions/unix_getlibs@gh-actions-v1

- name: 'Prebuild'
uses: POV-Ray/povray/.github/actions/unix_prebuild@gh-actions-v1
- name: 'Configure'
uses: POV-Ray/povray/.github/actions/unix_configure@gh-actions-v1
- name: 'Build'
uses: POV-Ray/povray/.github/actions/unix_make@gh-actions-v1

- name: 'Perform CodeQL Analysis'
uses: github/codeql-action/analyze@v1
Loading

0 comments on commit 5385cec

Please sign in to comment.