File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11- runs-on : ubuntu-24.04
1211 strategy :
1312 fail-fast : false
1413 matrix :
14+ os : [ubuntu-24.04, macos-13, macos-14]
1515 node : [18, 20, 22]
1616
17- name : Node ${{ matrix.node }} sample
17+ runs-on : ubuntu-24.04
18+ name : Node ${{ matrix.os }}, node-${{ matrix.node }} sample
1819 steps :
1920 - name : Checkout Sources
2021 uses : actions/checkout@v4
@@ -26,14 +27,20 @@ jobs:
2627 registry-url : " https://registry.npmjs.org"
2728 scope : " @hpcc-js"
2829
29- - name : Install OS Dependencies
30+ - name : Install Ubuntu Dependencies
31+ if : ${{ contains(matrix.os, 'ubuntu') }}
3032 run : |
3133 sudo apt-get update
3234 sudo apt-get install -y build-essential
3335 sudo apt-get install -y git cmake ninja-build wget zip
3436 sudo apt-get install -y gcc-multilib g++-multilib pkg-config autoconf bison libtool flex
3537 sudo apt-get install -y python3 python3-pip
3638
39+ - name : Install OSX Dependencies
40+ if : ${{ contains(matrix.os, 'macos') }}
41+ run : |
42+ brew install ninja pkg-config automake libtool autoconf autoconf-archive coreutils
43+
3744 - name : Export GitHub Actions cache environment variables
3845 uses : actions/github-script@v7
3946 with :
6067 npm run test
6168
6269 - name : Calculate Coverage
63- if : ${{ matrix.node == 20 }}
70+ if : ${{ matrix.os == 'ubuntu-24.04' && matrix. node == 20 }}
6471 run : |
6572 npm run coverage
6673
You can’t perform that action at this time.
0 commit comments