Skip to content

Commit

Permalink
Merge pull request #171 from mapbox/no-travis
Browse files Browse the repository at this point in the history
update template to use GHA instead of travis
  • Loading branch information
ryndaniels authored Jun 17, 2024
2 parents 0e14c02 + bf174c8 commit 395eb72
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 167 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: mapbox/node-cpp-skel
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read

strategy:
fail-fast: false
matrix:
buildtype: ['release', 'debug']
node-version: ['10', '12', '13']

steps:
- uses: actions/checkout@v4
- name: Install packages
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt-get install -y libstdc++-5-dev
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install and setup
run: |
node -v
which node
clang++ -v
which clang++
make "${BUILDTYPE}"
- name: Run tests
run: |
npm test
167 changes: 0 additions & 167 deletions .travis.yml

This file was deleted.

0 comments on commit 395eb72

Please sign in to comment.