forked from cvmfs/cvmfsexec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Make distributions and test | ||
|
||
on: | ||
# run workflows on main master and release/** branches | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- release/** | ||
# run workflows on pull requests against the same branches | ||
pull_request: | ||
branches: | ||
- main | ||
- master | ||
- release/** | ||
|
||
# automatically cancel redundant builds | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
makeandtest: | ||
name: EL ${{ matrix.version }} (${{ matrix.distro }}) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- distro: eurolinux/centos-7 | ||
version: latest | ||
- distro: rockylinux | ||
version: 8 | ||
- distro: rockylinux | ||
version: 9 | ||
runs-on: ubuntu-latest | ||
container: ${{ matrix.distro }}:${{ matrix.version }} | ||
steps: | ||
- name: Get source code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: | | ||
yum -y install cpio | ||
- name: Remove apparmor restriction on unprivileged user namespace | ||
run: sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 | ||
|
||
- name: Make and test distributions | ||
run: | | ||
set -ex; \ | ||
for DIST in default osg egi; do \ | ||
rm -rf dist; \ | ||
./makedist $DIST; \ | ||
./cvmfsexec atlas.cern.ch -- ls /cvmfs/atlas.cern.ch; \ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters