Skip to content

Commit

Permalink
ci: update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
virtual-designer authored Nov 7, 2023
1 parent 8ae18b5 commit d646d02
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
os: [ubuntu-latest, macos-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
Expand All @@ -22,8 +22,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: "Install Tools"
- name: Install Libraries (Linux)
run: sudo apt install build-essential libcurl4 libcurl4-gnutls-dev -y
if: matrix.os == 'ubuntu-latest'

- name: Install Libraries and Tools (macOS)
run: brew install curl
if: matrix.os == 'macos-latest'

- name: "Install Native Libraries"
run: |
Expand Down

0 comments on commit d646d02

Please sign in to comment.