Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Aug 10, 2023
1 parent 405e475 commit f530cf8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ jobs:
test:
name: "Build"
runs-on: ubuntu-latest
env:
LD_FLAGS: '-L$HOME/opt/lib'
LD_LIBRARY_PATH: '/lib:/usr/lib:/usr/local/lib:$HOME/opt/lib'
CPATH: '$CPATH:$HOME/opt/include'
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2']
Expand All @@ -29,6 +25,12 @@ jobs:
env:
LIBWEBP_VERSION: ${{ matrix.libwebp }}

- name: Set envs
run: |
echo "LD_FLAGS=-L$HOME/opt/lib" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:$HOME/opt/lib" >> $GITHUB_ENV
echo "CPATH=$CPATH:$HOME/opt/include" >> $GITHUB_ENV
- name: Build package
run: |
bundle exec rake compile
Expand Down

0 comments on commit f530cf8

Please sign in to comment.