Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
SiskaPavel committed Oct 3, 2024
1 parent 2f9dc3e commit 99fa4b6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Install Dependencies'
description: 'Install required dependencies in container'

runs:
using: 'composite'
steps:
- name: Install dependencies
shell: bash
run: |
echo $PWD
echo "Installing dependencies..."
echo "Updating package list..." > test.txt
dnf install -y make gcc-c++ clang clang-tools-extra cmake3 git rpm-build fuse3-devel
9 changes: 6 additions & 3 deletions .github/workflows/atomic-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,20 @@ jobs:
runs-on: ubuntu-latest
container: oraclelinux:9
steps:
- name: Install dependencies
run: |
dnf install -y make gcc-c++ cmake3 git rpm-build fuse3-devel
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
uses: ./.github/actions/install-dependencies/action.yml
- name: test
run: |
cat test.txt
- name: Mark github workspace as safe
run: git config --system --add safe.directory $PWD
- name: List commits and run make for each
run: |
git rev-list --reverse ${{ github.event.pull_request.head.sha }}..HEAD
git rev-list --reverse ${{ github.event.pull_request.base.sha }}..HEAD | while read commit; do
git checkout $commit
make
Expand Down

0 comments on commit 99fa4b6

Please sign in to comment.