Bump solver to 1.6.0 #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR | |
on: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
name: Test | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up ccache | |
uses: hendrikmuhs/[email protected] | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
cache: pnpm | |
registry-url: https://npm.pkg.github.com | |
- name: Install | |
run: pnpm i --ignore-scripts | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GPR_RO_TOKEN }} | |
- name: Lint | |
run: pnpm run lint | |
- name: Build addon binding | |
run: | | |
pnpm -F highs-addon run build \ | |
--CDCMAKE_CXX_COMPILER_LAUNCHER=ccache | |
- name: Test | |
run: pnpm t | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: out/coverage |