Skip to content
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: 5 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ task:
install_script:
- pkg update -f
- pkg upgrade -y
- pkg install -y bash gmake coreutils libtool pkgconf autoconf autoconf-archive e2fsprogs-libuuid py311-pip expect
- pkg install -y ca_root_nss
- pkg install -y bash gmake coreutils libtool pkgconf autoconf autoconf-archive py311-pip expect
- python3 -m pip install pyyaml
- pkg install -y automake glib dbus dbus-glib cmocka wget git openssl json-c vim hs-pandoc
- pkg install -y automake glib dbus dbus-glib cmocka uthash util-linux wget git openssl json-c vim hs-pandoc
- pkg install -y swtpm
- mkdir tss
- cd tss && git clone https://github.com/tpm2-software/tpm2-tss.git
- cd tpm2-tss && ./bootstrap && ./configure --disable-doxygen-doc --enable-tcti-swtpm=yes --enable-tcti-mssim=no --disable-tcti-libtpms --disable-dependency-tracking && gmake -j install
- cd tpm2-tss
- ./bootstrap && ./configure --disable-doxygen-doc --enable-tcti-swtpm=yes --enable-tcti-mssim=no --disable-tcti-libtpms --disable-dependency-tracking && gmake -j install
- cd ../../ && rm -rf tss
- mkdir rm
- cd rm && git clone https://github.com/tpm2-software/tpm2-abrmd.git && cd tpm2-abrmd
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/tss2master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tss2Master
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
master-tss-build-test:
runs-on: ubuntu-latest
if: "!contains(github.ref, 'coverity_scan')"
strategy:
matrix:
compiler: [gcc, clang]
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: fix-sanitizer
run: sudo sysctl vm.mmap_rnd_bits=28
- name: Launch Action
uses:
tpm2-software/ci/runCI@main
with:
PROJECT_NAME: ${{ github.event.repository.name }}
DOCKER_IMAGE: ubuntu-24.04
CC: ${{ matrix.compiler }}
TPM2_TSS_VERSION: master
GIT_FULL_CLONE: true
- name: failure
if: ${{ failure() }}
run: cat build/test-suite.log || true

Loading