-
Notifications
You must be signed in to change notification settings - Fork 10
Present as canonical source, remove previous maintainer, and activate CI on default branch #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
anderslindho
wants to merge
8
commits into
epics-modules:main
Choose a base branch
from
anderslindho:ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+309
−63
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2112146
add github pages mechanics
mdavidsaver 481c70c
add GHA build w/ ci-scripts 3.4.1
ralphlange 1129dc6
add patch to fix failing tests under EPICS 7
ralphlange a41584b
add GHA job for documentation build & deploy @gh-pages
ralphlange 0952e2a
fix links in documentation
ralphlange 23ff4d8
add link to sources to home navbar
ralphlange 6ea6ba3
update EPICS links in home navbar
ralphlange 0385598
Present as canonical source and remove previous maintainer
anderslindho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # EPICS Base | ||
| BASE_DIRNAME=base | ||
| BASE_REPONAME=epics-base | ||
| BASE_REPOOWNER=epics-base | ||
| BASE_VARNAME=EPICS_BASE | ||
| BASE_RECURSIVE=no |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| name: Sequencer-Build | ||
|
|
||
| on: | ||
| push: | ||
| paths-ignore: | ||
| - 'documentation/*' | ||
| - '**/*.html' | ||
| - '**/*.md' | ||
| pull_request: | ||
|
|
||
| env: | ||
| SETUP_PATH: .ci-local | ||
| APT: re2c | ||
| CHOCO: re2c | ||
| BREW: re2c | ||
|
|
||
| jobs: | ||
| build: | ||
| name: ${{ matrix.name }} | ||
| runs-on: ${{ matrix.os }} | ||
| # Set environment variables from matrix parameters | ||
| env: | ||
| CMP: ${{ matrix.cmp }} | ||
| BCFG: ${{ matrix.configuration }} | ||
| BASE: ${{ matrix.base }} | ||
| CI_CROSS_TARGETS: ${{ matrix.cross }} | ||
| EXTRA: ${{ matrix.extra }} | ||
| TEST: ${{ matrix.test }} | ||
| VV: "1" | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - os: ubuntu-latest | ||
| cmp: gcc | ||
| configuration: default | ||
| base: "7.0" | ||
| name: "Ub-22 gcc base-7.0" | ||
|
|
||
| - os: ubuntu-latest | ||
| cmp: clang | ||
| configuration: default | ||
| base: "7.0" | ||
| name: "Ub-22 clang base-7.0" | ||
|
|
||
| - os: ubuntu-latest | ||
| cmp: gcc | ||
| configuration: default | ||
| base: "3.15" | ||
| name: "Ub-22 gcc base-3.15" | ||
|
|
||
| - os: ubuntu-latest | ||
| cmp: gcc | ||
| configuration: default | ||
| base: "3.14" | ||
| name: "Ub-22 gcc base-3.14" | ||
|
|
||
| - os: ubuntu-latest | ||
| cmp: gcc | ||
| configuration: default | ||
| cross: "RTEMS-pc686-qemu@5" | ||
| base: "7.0" | ||
| name: "Ub-22 gcc + RT-5.1 pc686 base-7.0" | ||
|
|
||
| - os: macos-latest | ||
| cmp: clang | ||
| configuration: default | ||
| base: "7.0" | ||
| name: "Mac clang base-7.0" | ||
|
|
||
| - os: windows-2019 | ||
| cmp: vs2019 | ||
| configuration: default | ||
| base: "7.0" | ||
| name: "Win2019 MSC19 base-7.0" | ||
|
|
||
| - os: windows-2019 | ||
| cmp: vs2019 | ||
| configuration: static | ||
| base: "7.0" | ||
| name: "Win2019 MSC19 static base-7.0" | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: true | ||
| - name: "apt-get install" | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get -y install re2c gdb | ||
| if: runner.os == 'Linux' | ||
| - name: Automatic core dumper analysis | ||
| uses: mdavidsaver/ci-core-dumper@master | ||
| - name: Prepare and compile dependencies | ||
| run: python .ci/cue.py prepare | ||
| - name: Apply patches | ||
| run: patch -p1 -i ./seq-2.2.9-base707-fix.patch | ||
| - name: Build main module | ||
| run: python .ci/cue.py -T 60M build | ||
| - name: Run main module tests | ||
| run: python -m ci_core_dumper exec python .ci/cue.py -T 15M test | ||
| - name: Collect and show test results | ||
| if: ${{ always() }} | ||
| run: python .ci/cue.py -T 5M test-results |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| name: Sequencer-Docs | ||
|
|
||
| on: | ||
| push: | ||
| paths: | ||
| - 'documentation/**' | ||
| - '.github/workflows/*' | ||
| # Allows you to run this workflow manually from the Actions tab | ||
| workflow_dispatch: | ||
|
|
||
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| env: | ||
| SETUP_PATH: .ci-local | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Build html documentation | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| CMP: gcc | ||
| BCFG: default | ||
| BASE: "7.0" | ||
| EXTRA: "docs" | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: true | ||
| - name: "apt-get install" | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get -y install re2c sphinx latexmk texlive-fonts-recommended \ | ||
| texlive-latex-recommended texlive-latex-extra | ||
| sudo pip3 install sphinxcontrib-blockdiag | ||
| - name: Prepare and compile dependencies | ||
| run: python .ci/cue.py prepare | ||
| - name: Build documentation | ||
| run: python .ci/cue.py build | ||
| - name: Finalize doc site | ||
| run: | | ||
| cp documentation/O.Common/latex/Manual.pdf documentation/O.Common/html | ||
| touch documentation/O.Common/html/.nojekyll | ||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v4 | ||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| path: 'documentation/O.Common/html' | ||
|
|
||
| deploy: | ||
| needs: build | ||
| name: Deploy on Pages | ||
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
| permissions: | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| /cfg/ | ||
| /bin/ | ||
| /lib/ | ||
| /db/ | ||
| /dbd/ | ||
| /include/ | ||
| /templates/ | ||
| /html/ | ||
| /configure/*.local | ||
| /configure/CONFIG_SITE.Common.* | ||
| O.*/ | ||
| *.orig | ||
| *.log | ||
| .*.swp |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [submodule ".ci"] | ||
| path = .ci | ||
| url = https://github.com/epics-base/ci-scripts |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,6 @@ | ||
| # The EPICS SNL Compiler and Sequencer | ||
|
|
||
| This is a **mirror** of the *stable* (2.2) branch | ||
| of the EPICS State Notation Language Compiler and Runtime Sequencer, | ||
| converted to Git from an upstream-provided Darcs mirror | ||
| at https://hub.darcs.net/bf/seq-branch-2-2 | ||
| This is the EPICS State Notation Language Compiler and Runtime Sequencer. | ||
|
|
||
| ## [Documentation](https://epics-modules.github.io/sequencer/) | ||
| ## [Releases](https://github.com/epics-modules/sequencer/tags) | ||
|
|
||
| ## Branches of this Mirror | ||
|
|
||
| * *main* - plain mirror of the upstream Darcs sources, plus this README file | ||
| * *ci* - branch that adds configuration for builds, tests and documentation | ||
| using GitHub Actions and Pages | ||
|
|
||
| Upstream author/maintainer: [Benjamin Franksen](mailto:benjamin.franksen@helmholtz-berlin.de) |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These sections of the Installation notes also need updating to convert GitHub to become the canonical source for the sequencer. There's also another darcs reference around line 335 of this file, and there might be a few others (use
git grep -i darcsto check).