-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (42 loc) · 1.71 KB
/
workshop-ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: workshop-ci
on:
# run on pull request events for the master branch only
pull_request:
branches: [ master ]
paths-ignore:
- LICENSE
- '**.md'
- .github/workflows/run-crucible-tracking.yaml
- .github/workflows/faux-crucible-ci.yaml
- .github/workflows/faux-workshop-ci.yaml
- 'docs/**'
# allow for manual invocation from the actions tab
workflow_dispatch:
concurrency:
group: ${{ github.ref }}/workshop-ci
cancel-in-progress: true
jobs:
workshop-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Perl Dependencies
run: |
sudo apt install libcoro-perl libjson-perl libjson-xs-perl libjson-validator-perl libdata-uuid-perl libdigest-sha-perl libcompress-raw-lzma-perl libcompress-raw-zlib-perl libcompress-raw-bzip2-perl cpanminus
echo
sudo cpanm IO::Uncompress::UnXz IO::Compress::Xz
- name: Install Toolbox
run: |
pushd ~/
git clone https://github.com/perftool-incubator/toolbox.git
- name: Run workshop
run: |
export TOOLBOX_HOME=~/toolbox
echo
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci-dump-config --userenv ./userenvs/fedora-ci.json --dump-config true
echo
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci-dump-config --userenv ./userenvs/fedora-ci.json --dump-config true --force-update-policy missing
echo
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci-dump-files --userenv ./userenvs/fedora-ci.json --dump-files true
echo
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci --userenv ./userenvs/fedora-ci.json --log-level verbose