Skip to content

Commit

Permalink
build in github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
btsimonh committed Oct 29, 2024
1 parent aec0a22 commit 00ca5f9
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 55 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Keep GitHub Actions up to date with GitHub's Dependabot...
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
version: 2
updates:
- package-ecosystem: github-actions
directory: /
groups:
github-actions:
patterns:
- "*" # Group all Actions updates into a single larger pull request
schedule:
interval: weekly
41 changes: 41 additions & 0 deletions .github/workflows/configure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on: [push, pull_request]

jobs:
build_and_test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix: # macos-latest -> arm64, macos-13 -> x64
#os: [windows-latest, ubuntu-latest, macos-latest, macos-13]
#os: [macos-13, macos-latest]
os: [macos-latest]
# < 16 not available in testing images
#node-version: [22, 20, 18]
node-version: [22]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies and test
shell: bash
run: |
npm install
npm test
- name: prebuild
shell: bash
run: |
npm run prebuild
- uses: actions/upload-artifact@v4
with:
name: PREBUILD-${{ matrix.os }}-${{ matrix.node-version }}
path: prebuilds/ # or path/to/artifact


55 changes: 0 additions & 55 deletions appveyor.yml

This file was deleted.

0 comments on commit 00ca5f9

Please sign in to comment.