3 Commits

Author SHA1 Message Date
Ralph Lange
87942a7c29 Update READMEs (quoting of branch/tag name settings)
Some checks failed
ci-scripts build/test / Unit tests on macos-10.15 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2016 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2019 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / macos-10.15 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-16.04 (push) Has been cancelled
ci-scripts build/test / clang / default / macos-10.15 (push) Has been cancelled
ci-scripts build/test / gcc / debug / windows-2016 (push) Has been cancelled
ci-scripts build/test / gcc / debug / windows-2019 (push) Has been cancelled
ci-scripts build/test / gcc / default / windows-2016 (push) Has been cancelled
ci-scripts build/test / gcc / default / windows-2019 (push) Has been cancelled
ci-scripts build/test / gcc / static / windows-2016 (push) Has been cancelled
ci-scripts build/test / gcc / static / windows-2019 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / windows-2016 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / windows-2019 (push) Has been cancelled
ci-scripts build/test / vs2017 / debug / windows-2016 (push) Has been cancelled
ci-scripts build/test / vs2017 / default / windows-2016 (push) Has been cancelled
ci-scripts build/test / vs2017 / static / windows-2016 (push) Has been cancelled
ci-scripts build/test / vs2017 / static-debug / windows-2016 (push) Has been cancelled
ci-scripts build/test / vs2019 / debug / windows-2019 (push) Has been cancelled
ci-scripts build/test / vs2019 / default / windows-2019 (push) Has been cancelled
ci-scripts build/test / vs2019 / static / windows-2019 (push) Has been cancelled
ci-scripts build/test / vs2019 / static-debug / windows-2019 (push) Has been cancelled
ci-scripts build/test / RTEMS4.10 / debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / RTEMS4.9 / debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / RTEMS4.10 / default / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / RTEMS4.9 / default / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / RTEMS4.10 / static / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / RTEMS4.9 / static / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / RTEMS4.10 / static-debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / RTEMS4.9 / static-debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / WINE32 / debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / WINE64 / debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / WINE32 / default / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / WINE64 / default / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / WINE32 / static / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / WINE64 / static / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / WINE32 / static-debug / ubuntu-18.04 (push) Has been cancelled
ci-scripts build/test / WINE64 / static-debug / ubuntu-18.04 (push) Has been cancelled
2020-06-30 09:49:50 +02:00
Ralph Lange
0bf7d23a6f Merge pull request #54 from mdavidsaver/gh-actions
gh-actions: fix example configurations
2020-06-30 09:40:04 +02:00
Michael Davidsaver
b592ab053c fixup github actions examples 2020-06-29 13:31:02 -07:00
4 changed files with 50 additions and 30 deletions

View File

@@ -365,16 +365,16 @@ This will make all builds (not just for your module) verbose.
Update the submodule in `.ci` first, then change your CI configuration Update the submodule in `.ci` first, then change your CI configuration
(if needed) and commit both to your module. E.g., to update your Travis (if needed) and commit both to your module. E.g., to update your Travis
setup to release 3.1.0 of ci-scripts: setup to release 3.1.1 of ci-scripts:
```bash ```bash
cd .ci cd .ci
git pull origin v3.1.0 git pull origin v3.1.1
cd - cd -
git add .ci git add .ci
# if needed: # if needed:
edit .travis.yml # and/or AppVeyor/GitHub Actions configuration edit .travis.yml # and/or AppVeyor/GitHub Actions configuration
git add .travis.yml git add .travis.yml
git commit -m "Update ci-scripts submodule to v3.1.0" git commit -m "Update ci-scripts submodule to v3.1.1"
``` ```
Check the example configuration files inside ci-scripts (and their Check the example configuration files inside ci-scripts (and their

View File

@@ -48,6 +48,18 @@
5. Push your changes and click on the `Actions` tab of your GitHub repository 5. Push your changes and click on the `Actions` tab of your GitHub repository
page to see your build results. page to see your build results.
## Specifics
#### Quote Environment Variable Values
Variable settings distinguish between numerical and string values.
Better quote all branch and tag names. E.g.,
```yaml
env:
BASE: "7.0"
```
to avoid ci-scripts trying to `git clone` with `--branch 7`.
## Caches ## Caches
GitHub Actions provides caching of dependencies. GitHub Actions provides caching of dependencies.

View File

@@ -12,7 +12,6 @@ on: [push, pull_request]
env: env:
SETUP_PATH: .ci-local:.ci SETUP_PATH: .ci-local:.ci
SET: test01
CMP: gcc CMP: gcc
# For the sequencer on Linux/Windows/MacOS # For the sequencer on Linux/Windows/MacOS
APT: re2c APT: re2c
@@ -35,14 +34,16 @@ jobs:
configuration: [default, static, debug, static-debug] configuration: [default, static, debug, static-debug]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
submodules: true
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python .ci/cue.py prepare
- name: Build main module - name: Build main module
run: python cue.py build run: python .ci/cue.py build
- name: Run main module tests - name: Run main module tests
run: python cue.py test run: python .ci/cue.py test
- name: Collect and show test results - name: Collect and show test results
run: python cue.py test-results run: python .ci/cue.py test-results
build-macos: build-macos:
name: ${{ matrix.cmp }} / ${{ matrix.configuration }} / ${{ matrix.os }} name: ${{ matrix.cmp }} / ${{ matrix.configuration }} / ${{ matrix.os }}
@@ -61,13 +62,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python .ci/cue.py prepare
- name: Build main module - name: Build main module
run: python cue.py build run: python .ci/cue.py build
- name: Run main module tests - name: Run main module tests
run: python cue.py test run: python .ci/cue.py test
- name: Collect and show test results - name: Collect and show test results
run: python cue.py test-results run: python .ci/cue.py test-results
build-windows: build-windows:
name: ${{ matrix.cmp }} / ${{ matrix.configuration }} / ${{ matrix.os }} name: ${{ matrix.cmp }} / ${{ matrix.configuration }} / ${{ matrix.os }}
@@ -89,14 +90,16 @@ jobs:
cmp: vs2019 cmp: vs2019
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
submodules: true
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python .ci/cue.py prepare
- name: Build main module - name: Build main module
run: python cue.py build run: python .ci/cue.py build
- name: Run main module tests - name: Run main module tests
run: python cue.py test run: python .ci/cue.py test
- name: Collect and show test results - name: Collect and show test results
run: python cue.py test-results run: python .ci/cue.py test-results
# Same setup and toolchain as on Travis. # Same setup and toolchain as on Travis.
# Needs Base >= 3.15 to compile, EPICS 7 to also run the tests on qemu # Needs Base >= 3.15 to compile, EPICS 7 to also run the tests on qemu
@@ -113,18 +116,20 @@ jobs:
matrix: matrix:
os: [ubuntu-18.04] os: [ubuntu-18.04]
cmp: [gcc] cmp: [gcc]
configuration: [default, static, debug, static-debug] configuration: [default]
rtems: ["4.9", "4.10"] rtems: ["4.9", "4.10"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
submodules: true
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python .ci/cue.py prepare
- name: Build main module - name: Build main module
run: python cue.py build run: python .ci/cue.py build
- name: Run main module tests - name: Run main module tests
run: python cue.py test run: python .ci/cue.py test
- name: Collect and show test results - name: Collect and show test results
run: python cue.py test-results run: python .ci/cue.py test-results
# The WINE cross builds are of somewhat limited use, # The WINE cross builds are of somewhat limited use,
# as there are native gcc/MinGW builds available on GitHub Actions # as there are native gcc/MinGW builds available on GitHub Actions
@@ -145,11 +150,13 @@ jobs:
wine: [32, 64] wine: [32, 64]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
submodules: true
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python .ci/cue.py prepare
- name: Build main module - name: Build main module
run: python cue.py build run: python .ci/cue.py build
- name: Run main module tests - name: Run main module tests
run: python cue.py test run: python .ci/cue.py test
- name: Collect and show test results - name: Collect and show test results
run: python cue.py test-results run: python .ci/cue.py test-results

View File

@@ -12,7 +12,6 @@ on: [push, pull_request]
env: env:
SETUP_PATH: .ci-local:.ci SETUP_PATH: .ci-local:.ci
SET: test01
CMP: gcc CMP: gcc
jobs: jobs:
@@ -33,11 +32,13 @@ jobs:
base: ["7.0", "3.15"] base: ["7.0", "3.15"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
submodules: true
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python .ci/cue.py prepare
- name: Build main module - name: Build main module
run: python cue.py build run: python .ci/cue.py build
- name: Run main module tests - name: Run main module tests
run: python cue.py test run: python .ci/cue.py test
- name: Collect and show test results - name: Collect and show test results
run: python cue.py test-results run: python .ci/cue.py test-results