Skip to content
This repository was archived by the owner on Jun 14, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,16 @@ env:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
- os: macos-latest
- os: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn main() {
cc::Build::new()
// We aren't using libspiro's autotools build, so I wrote a generic spiro-config.h which
// will work on all the systems I care about.
.include(".") // for spiro-config.h
.include(".") // for spiro-config.h, wrapper.h and spiroentrypoints.h
.file("libspiro/bezctx.c")
.file("libspiro/spiro.c")
.file("libspiro/spiroentrypoints.c")
Expand Down
1 change: 0 additions & 1 deletion libspiro
Submodule libspiro deleted from a2f38e
75 changes: 75 additions & 0 deletions libspiro/.github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: C
on: [push,pull_request]

jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
choiceL: [--disable-silent-rules, --enable-verbose_lib, --enable-test_inputs, --enable-test-a-lot]
steps:
- uses: actions/checkout@v4
- name: Create configure
run: |
sudo apt-get update -y
sudo apt-get install autoconf automake libtool gcc
autoreconf -i
automake
- name: Choose configure
run: ./configure ${{ matrix.choiceL }}
- name: Make library
run: make
- name: Test library
run: make check
- name: Test make distcheck
if: matrix.choiceL == '--disable-silent-rules'
run: make distcheck
macos:
runs-on: macos-latest
strategy:
matrix:
choiceM: [--disable-silent-rules, --enable-verbose_lib, --enable-test_inputs, --enable-test-a-lot]
steps:
- uses: actions/checkout@v2
- name: Create configure
run: |
brew install autoconf automake libtool gcc
autoreconf -i
automake
- name: Choose configure
run: ./configure ${{ matrix.choiceM }}
- name: Make library
run: make
- name: Test library
run: make check
windows:
runs-on: windows-latest
strategy:
matrix:
include: [
{ msystem: MINGW64, toolchain: mingw-w64-x86_64-toolchain },
{ msystem: MINGW32, toolchain: mingw-w64-i686-toolchain },
{ msystem: UCRT64, toolchain: mingw-w64-ucrt-x86_64-toolchain },
{ msystem: CLANG64, toolchain: mingw-w64-clang-x86_64-toolchain },
]
name: ${{ matrix.msystem }}
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
update: true
install: autotools base-devel git ${{ matrix.toolchain }}
- name: Create configure
run: |
autoreconf -i
automake
- name: Choose configure
run: ./configure
- name: Make library
run: make
- name: Test library
run: make check
21 changes: 21 additions & 0 deletions libspiro/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Object files
*.lo
*.o

# Libraries
*.lib
*.a

# Logs
*.log

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
20 changes: 20 additions & 0 deletions libspiro/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Authors:
Raph Levien <raph.levien@gmail.com>
George Williams <gww@silcom.com>
Joe Da Silva, www.joescat.com

Patent Grant and Copyright (C) 2007 Raph Levien

Extra edits, patches, updates... (2013...,)
Dave Crossland
Shriramana Sharma
Joe Da Silva
Horváth Balázs
Luigi Scarso
Jeremy Tan
Wiesław Šoltés
Mingye Wang
Frederic Cambus
Fredrick Brennan
C.W. Betts
orbea
Loading
Loading