Skip to content

Commit

Permalink
ci: remove ubuntu 18.04
Browse files Browse the repository at this point in the history
* Ubuntu 18.04 will no longer be supported.
* INSTALL.md includes a list of operating systemes in the CI.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
  • Loading branch information
JuergenReppSIT committed Jan 12, 2024
1 parent 3963ec0 commit a7da221
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
if: "!contains(github.ref, 'coverity_scan')"
strategy:
matrix:
docker_image: [ubuntu-18.04, ubuntu-20.04, fedora-32, opensuse-leap, ubuntu-22.04, alpine-3.15]
docker_image: [ubuntu-20.04, fedora-32, opensuse-leap, ubuntu-22.04, alpine-3.15]
compiler: [gcc, clang]
steps:
- name: Check out repository
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
tpm2-software/ci/runCI@main
with:
CC: gcc
DOCKER_IMAGE: ubuntu-18.04
DOCKER_IMAGE: ubuntu-20.04
ENABLE_COVERAGE: true
PROJECT_NAME: ${{ github.event.repository.name }}
- name: failure
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
REPO_BRANCH: ${{ github.ref }}
REPO_NAME: ${{ github.repository }}
ENABLE_COVERITY: true
DOCKER_IMAGE: ubuntu-18.04
DOCKER_IMAGE: ubuntu-20.04
CC: gcc
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
COVERITY_SUBMISSION_EMAIL: tadeusz.struk@intel.com
Expand Down
17 changes: 16 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ $ sudo udevadm control --reload-rules && sudo udevadm trigger
If this doesn't work on your distro please consult your distro's
documentation for UDEVADM(8).

Users who should have access to the TPM and the FAPI keystore should be
included in the tss group.
​```
sudo usermod -aG tss <username>
```
## ldconfig
It may be necessary to run ldconfig (as root) to update the run-time
Expand Down Expand Up @@ -248,4 +254,13 @@ for cortex-m4:
CFLAGS='-mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb' \
LDFLAGS='--specs=nosys.specs'
make
```
```

## Test operating systems in the CI

* ubuntu-20.04
* fedora-32
* opensuse-leap
* ubuntu-22.04
* alpine-3.15
* FreeBSD

2 comments on commit a7da221

@oluwoleadetifa
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean I can't utilize TPM2.0 on ubuntu 18.04 at all? as when I tried to use the busy box, I was getting an issue with the Glibc

@JuergenReppSIT
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean I can't utilize TPM2.0 on ubuntu 18.04 at all? as when I tried to use the busy box, I was getting an issue with the Glibc

The current version of json-c on Ubuntu 18.04 does not support functions needed by fapi. If you do not need fapi you can compile the current master and run the tests with:

./bootstrap
./configure --enable-integration --enable-unit --disable-fapi --disable-policy
make -j check

Or you could try to install a version of json-c >= 0.13

Please sign in to comment.