Skip to content

Commit

Permalink
switch to GH acitons
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jun 26, 2024
1 parent 620a3e0 commit db7a909
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 46 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on: [push, pull_request]
jobs:
node:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 20

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
cpp:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Test C++
run: make test
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
CXXFLAGS += -Iinclude -std=c++14 -Wall -Wextra -Wshadow -Werror -g -fPIC
CXXFLAGS += -Iinclude -std=c++14 -Wall -Wextra -Wshadow -Werror -Wno-class-memaccess -g -fPIC

MASON ?= .mason/mason
VARIANT = variant 1.1.4
GEOMETRY = geometry 0.9.2
RAPIDJSON = rapidjson 1.1.0

$(MASON):
git submodule update --init

DEPS = `$(MASON) cflags $(VARIANT)` \
`$(MASON) cflags $(GEOMETRY)` \
`$(MASON) cflags $(RAPIDJSON)`
`$(MASON) cflags $(GEOMETRY)` \
`$(MASON) cflags $(RAPIDJSON)`

mason_packages/headers/geometry:
mason_packages/headers/geometry: $(MASON)
$(MASON) install $(VARIANT)
$(MASON) install $(GEOMETRY)
$(MASON) install $(RAPIDJSON)
Expand Down

0 comments on commit db7a909

Please sign in to comment.