Skip to content

Commit

Permalink
Update presubmit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TApplencourt authored Aug 19, 2024
1 parent eda6aea commit aa9f399
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,38 @@ jobs:
skip_after_successful_duplicate: 'true'
paths_ignore: '["**/README.md"]'
do_not_skip: '["pull_request"]'
userspace-rcu:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Build urcu
runs-on: ubuntu-latest
steps:
- run: sudo apt update; sudo apt install -y gcc g++ libpopt-dev
- run: git clone https://github.com/urcu/userspace-rcu
- run: |
./bootstrap
./configure --prefix=$HOME/babeltrace2/2.0.4
make -j 32 install
working-directory: userspace-rcu
lttng-tools:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Build lttng-tools
runs-on: ubuntu-latest
steps:
- run: sudo apt update; sudo apt install -y gcc g++ libpopt-dev liburcu-dev
- run: sudo apt update; sudo apt install -y gcc g++ libpopt-dev
- name: Load Env
run: |
echo "$HOME/babeltrace2/2.0.4/bin" >> $GITHUB_PATH
echo "PKG_CONFIG_PATH=$HOME/babeltrace2/2.0.4/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
echo "CPATH=$HOME/babeltrace2/2.0.4/include:$CPATH" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$HOME/babeltrace2/2.0.4/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "LIBRARY_PATH=$HOME/babeltrace2/2.0.4/lib:$LIBRARY_PATH" >> $GITHUB_ENV
- run: git clone -b anl-ms3 git://git.efficios.com/deliverable/lttng-tools.git
- run: |
./bootstrap
./configure --disable-bin-lttng-crash --prefix=$HOME/babeltrace2/2.0.4
make -j 32 install
working-directory: lttng-tools
babeltrace2:
needs: [pre_job,lttng-tools]
Expand All @@ -43,20 +64,20 @@ jobs:
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: sudo gem install cast-to-yaml nokogiri babeltrace2 opencl_ruby_ffi metababel
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: git clone -b anl-ms3 git://git.efficios.com/deliverable/babeltrace.git babeltrace2-2.0.4
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: |
wget https://raw.githubusercontent.com/argonne-lcf/THAPI/53262fcaaaf45d7d475884d7e63b69abe47e41d6/.github/workflows/str_nullptr.patch
patch -p1 < str_nullptr.patch
if: steps.babeltrace2.outputs.cache-hit != 'true'
working-directory: babeltrace2-2.0.4
- name: Load Env
run: |
echo "$HOME/babeltrace2/2.0.4/bin" >> $GITHUB_PATH
echo "PKG_CONFIG_PATH=$HOME/babeltrace2/2.0.4/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
echo "CPATH=$HOME/babeltrace2/2.0.4/include:$CPATH" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$HOME/babeltrace2/2.0.4/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "LIBRARY_PATH=$HOME/babeltrace2/2.0.4/lib:$LIBRARY_PATH" >> $GITHUB_ENV
- run: git clone -b anl-ms3 git://git.efficios.com/deliverable/babeltrace.git babeltrace2-2.0.4
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: |
wget https://raw.githubusercontent.com/argonne-lcf/THAPI/53262fcaaaf45d7d475884d7e63b69abe47e41d6/.github/workflows/str_nullptr.patch
patch -p1 < str_nullptr.patch
if: steps.babeltrace2.outputs.cache-hit != 'true'
working-directory: babeltrace2-2.0.4
- run: ./bootstrap
if: steps.babeltrace2.outputs.cache-hit != 'true'
working-directory: babeltrace2-2.0.4
Expand Down

0 comments on commit aa9f399

Please sign in to comment.