Skip to content
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

Fix #554, Updated ubuntu version in CI workflows #559

Merged
merged 1 commit into from
Oct 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-cfs-deprecated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
name: "[Deprecated] Build"
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
tests-and-coverage-omit-deprecated-false:
name: "[Deprecated] Run Unit Tests and Check Coverage"
needs: build-cfs-omit-deprecated-false
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
run-cfs-omit-deprecated-false:
name: "[Deprecated] Run cFS"
needs: build-cfs-omit-deprecated-false
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
needs: run-cfs-omit-deprecated-false
name: "[DEPRECATED] cFS Functional Tests"
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 15

strategy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cfs-rtems4.11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
name: Build
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
container: ghcr.io/core-flight-system/qemu-rtems-4-11:latest

strategy:
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

test-cfs:
name: Test
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
container: ghcr.io/core-flight-system/qemu-rtems-4-11:latest

needs: build-cfs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cfs-rtems5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
name: Build
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
container: ghcr.io/core-flight-system/qemu-rtems-5:latest

strategy:
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

test-cfs:
name: Test
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
container: ghcr.io/core-flight-system/qemu-rtems-5:latest

needs: build-cfs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-cfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
name: Build
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
tests-and-coverage-omit-deprecated-true:
name: Run Unit Tests and Check Coverage
needs: build-cfs-omit-deprecated-true
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
run-cfs-omit-deprecated-true:
name: Run
needs: build-cfs-omit-deprecated-true
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
run-functional-test-app-omit-deprecated-true:
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
needs: run-cfs-omit-deprecated-true
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 15

strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
needs: checks-for-duplicates
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }}
name: Build Documentation
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-run-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
needs: checks-for-duplicates
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }}
name: Build and run app, confirm startup message
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

steps:
- name: Set up environment variables
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ env:
jobs:
#Checks for duplicate actions. Skips push actions if there is a matching or duplicate pull-request action.
check-for-duplicates:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
Expand All @@ -71,7 +71,7 @@ jobs:
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 15

strategy:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@ jobs:
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 15

steps:
- name: Install format checker
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main'
sudo apt-get update && sudo apt-get install clang-format-10
sudo apt-get update && sudo apt-get install clang-format

- name: Checkout bundle
uses: actions/checkout@v2
Expand All @@ -54,7 +52,7 @@ jobs:
- name: Generate format differences
run: |
cd repo
find . -name "*.[ch]" -exec clang-format-10 -i -style=file {} +
find . -name "*.[ch]" -exec clang-format -i -style=file {} +
git diff > $GITHUB_WORKSPACE/style_differences.txt

- name: Archive Static Analysis Artifacts
Expand All @@ -76,7 +74,7 @@ jobs:
needs: check-for-duplicates
# Only run for pull-requests.
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 15
steps:
# Check github pull-request title against the pattern.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
name: Run cppcheck
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
needs: checks-for-duplicates
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }}
name: Build, run unit tests and enforce coverage
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

steps:
- name: Install coverage tools
Expand Down