Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ateucher authored Dec 18, 2024
1 parent bdbfca7 commit 86f3fd2
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,31 +60,9 @@ jobs:
if [ ! -z "$recipes" ]; then
echo "recipes=$recipes">> $GITHUB_OUTPUT
fi
- uses: r-lib/actions/setup-r@v2
with:
r-version: 'release'
- name: Create Makefile
run: Rscript scripts/mkmk.R

- name: Remove local stuff
run: |
sudo mkdir /usr/local/.disabled
sudo mv /usr/local/* /usr/local/.disabled/
- name: Build tools
run: |
make -C build pkgconfig
- name: Stubs
run: |
sudo mkdir -p /usr/local/lib/pkgconfig
sudo cp stubs/pkgconfig-darwin/*.pc /usr/local/lib/pkgconfig/
- name: Build R dependencies
if: success() && (inputs.recipes || steps.find.outputs.recipes)
run: make -C build ${{ inputs.recipes || steps.find.outputs.recipes }}
- name: build libs
run: ./build.sh ${{ inputs.recipes }}

- name: Collect
if: success() && (inputs.recipes || steps.find.outputs.recipes)
Expand Down

0 comments on commit 86f3fd2

Please sign in to comment.