diff options
author | Colin Walters <walters@verbum.org> | 2022-05-16 20:10:32 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2022-05-17 08:11:09 -0400 |
commit | 1c201d6be410e940db4612052a537dbf1e312997 (patch) | |
tree | 11c111f890c522f0d8d37215d6c07bfd56ed973a /.github | |
parent | 2106f1263735ccf19c62878f2d0f324f6efb982e (diff) | |
download | ostree-1c201d6be410e940db4612052a537dbf1e312997.tar.gz |
ci: Move codestyle and min build to GH actions
Part of general momentum to leave heavy lifting (e.g. VM tests)
to Jenkins and Prow and use the cheaper/faster GH actions for
plain builds.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tests.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8c0ae5f6..043202b5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,39 @@ permissions: contents: read jobs: + codestyle: + name: "Code style" + runs-on: ubuntu-latest + container: registry.ci.openshift.org/coreos/fcos-buildroot:testing-devel + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + submodules: true + # https://github.com/actions/checkout/issues/760 + - name: Mark git checkout as safe + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Test style + run: ./ci/ci-commitmessage-submodules.sh + minimal: + name: "Build - FCOS minimal" + runs-on: ubuntu-latest + container: registry.ci.openshift.org/coreos/fcos-buildroot:testing-devel + steps: + - name: Checkout repository + uses: actions/checkout@v2 + # https://github.com/actions/checkout/issues/760 + - name: Mark git checkout as safe + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Build + run: | + env NOCONFIGURE=1 ./autogen.sh && + ./configure --without-curl --without-soup --disable-gtk-doc --disable-man \ + --disable-rust --without-libarchive --without-selinux --without-smack \ + --without-openssl --without-avahi --without-libmount --disable-rofiles-fuse \ + --without-libsodium && + make tests: # Distro configuration matrix # |