Skip to content

Commit

Permalink
Rearranged workflow steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshasa authored Dec 7, 2024
1 parent 24b5bb4 commit 5f4e9ba
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ jobs:
runs-on: ubuntu-22.04

steps:
- name: Install Dependencies
- name: Update Packages
run: |
sudo apt-get update
sudo apt-get install -y clang-tidy bear
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -28,6 +27,9 @@ jobs:
autoheader
automake --add-missing
./configure
- name: Install Dependencies
run: |
sudo apt-get install -y clang-tidy bear
- name: Prepare compile_commands.json
run: |
bear -- make
Expand Down Expand Up @@ -65,10 +67,9 @@ jobs:
runs-on: ubuntu-22.04

steps:
- name: Install Dependencies
- name: Update Packages
run: |
sudo apt-get update
sudo apt-get install -y libcppunit-dev
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -77,6 +78,9 @@ jobs:
run: |
git remote add upstream "https://github.com/${{ github.event.pull_request.base.repo.full_name }}"
git fetch --no-tags --no-recurse-submodules upstream "${{ github.event.pull_request.base.ref }}"
- name: Install Dependencies
run: |
sudo apt-get install -y libcppunit-dev
- name: Configure Project
run: |
libtoolize
Expand Down

0 comments on commit 5f4e9ba

Please sign in to comment.